Questions tagged [android-webservice]

Web service is a system that enables applications to communicate with an API. Web service helps to expose business logic through an API interface where different systems communicate over network.

217 questions
-1
votes
1 answer

How to pass raw string of the content-type x-www-form-urlencoded in retrofit?

OkHttpClient client = new OkHttpClient.Builder().addInterceptor(interceptor).addInterceptor(new Interceptor() { @Override public Response intercept(Chain chain) throws IOException { Request.Builder requestBuilder =…
Manoj Perumarath
  • 9,337
  • 8
  • 56
  • 77
-1
votes
2 answers

how to parse soapobject response from asp.net

This is my web service code.I don't know how to parse soap response.what should i do? i don't even know it is json or Xml.So please tell me which type of response it is? my response like…
-1
votes
1 answer

Which api is good for android and what are different types?

I have heard about json and xml (SOAP) services , in fact there are SOAP and restful services and we can get reply in json format and xml format. now let me tell you what My real question is but after a little background of the story. I am using a…
Coas Mckey
  • 701
  • 1
  • 13
  • 39
-1
votes
1 answer

Android web services, including IMEI,Mac address in params

I am developing an app which sends some params to server like key, request type etc,and I've set the common params in the NetworkManager where I have all the connectivity code.There are some common params like generating random…
-1
votes
3 answers

How to get current version of my Android app in market ? I just want to check version

e.g If user clicks on check for update then action should be.. Check version of my application in market If my application's current version and market version are not same then I just want to give a dialog of "Upgrade now". Also wants to know is…
Kishan Soni
  • 816
  • 1
  • 6
  • 19
-1
votes
2 answers

how to reduce payload size in android web service call on android

In my android application everything is based on web services with JSON requests and responses. The user that is using their mobile data with a poor internet connection needs the application to work fast. So I want to reduce the amount of data sent…
John
  • 1,407
  • 7
  • 26
  • 51
-1
votes
1 answer

How to Access local RESTApi in Android Application

I want access RESTApi which is already created in Microsoft .net 2012 to my android application. But the problem is, when i run my Microsoft .net Application gives me url like http://localhost:xxxx which is actually not accesible in android…
-1
votes
1 answer

How can I control some web API per x minutes on service?

I want to check some web API and do something per x minutes. I think I should write a service on Android (is there any other solution?). But how can do that? I am thinking about writing a service class and in the manifest file I should add this…
CompEng
  • 7,161
  • 16
  • 68
  • 122
-1
votes
1 answer

Android GCM: Call web service from onMessage()

I am developing an application. In which i used the push notification functionality which is working good. Now i want to call a PHP webservice from onMessage(Context context, Intent data){ } and parse the response in background in the same…
-2
votes
2 answers

How to display images from web service?

I wanted to fetch the images from the URL but the whole code is clean but there is no output i am getting. what should i do. I used the whole code from this…
-2
votes
1 answer

how to call web service in android

i am new in Android development and now i am developing small application of google map. i have integrated google map,but now i want to show google places on map therefore i want to call google api web service to get locations, but i don't know how…
kushal
  • 181
  • 14
-2
votes
2 answers

GSON From JSON to POJO unable get Value and get Null Value

Hi i have started use of new library Loopj and GSON for Web Service response. However i am unable to get value from GSON to POJO. i couln't understand how to get value from the gson .... thank you in adavance. i have puted try catch it will give me…
Vasudev Vyas
  • 726
  • 1
  • 10
  • 28
-3
votes
4 answers

To connect with a web-service there is two options, either use a Library or "JSONParser" Class. Which is better? which one is safe?

I am asking this because I am beginner in android development. I am doing a core-banking application, so I used JSON Parser class to connect with REST Web-Service, JSONParser Class is, package com.anvinsolutions.digicob_custmate; import…
-3
votes
1 answer

Android changing the app web service Url and icon and name pragmatically

I have an application with the following configurations: (let suppose) 1) App name <"ZPE Location Aware"> 2) App icon <"given by the company"> 3) App Web service url <"will be embeded in Application"> Note: this web service url is the url which…
A.s.ALI
  • 1,992
  • 3
  • 22
  • 54
-3
votes
1 answer

How can i store login data in database....?

I'm new to Android,I'm developing my own App. In this I want to connect to database. I found one tutorial and I followed the whole complete code but it's not working. On that code i'm getting colored red text. try { HttpClient…
chandu
  • 45
  • 1
  • 7
1 2 3
14
15