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.
Questions tagged [android-webservice]
217 questions
0
votes
0 answers
Android and Asp.Net WebService NAMESPACE,SOAP_ACTION
I can not understand that this code is true or false:
private final String NAMESPACE = "http://aspamng.jahanmir.ir/";
private final String URL = "http://aspamng.jahanmir.ir/CustomerService.asmx";
private final String SOAP_ACTION =…

MohammadReza.Bahmani
- 23
- 1
- 2
- 5
0
votes
1 answer
org.xmlpull.v1.XmlPullParserException while calling SOAP webservices in Android
In my application I have create the login page in that login page I have enter the user name and password details and I send the request parameter,when I try to click the login button the webservice call and get username and pasword as response from…

Pans
- 199
- 17
0
votes
1 answer
image upload in Android to .Net webservice
I've been working with this Android app that uploads image on a server. I was able to upload successfully using PHP but I'm having trouble uploading it on a .net webservice. The guys who is in charge of the webservice gave the code to me so I can…

philip
- 1,292
- 3
- 24
- 44
0
votes
1 answer
Web service \ Android \ Http response code 415
Using Android ksoap2, I'm trying to communicate with an example .NET web service. I keep getting http response code 415. I've tried many things, many from this site and would be grateful for any ideas..
Service.cs:
public class Service :…

Gwentech
- 13
- 3
0
votes
2 answers
My website stops working when I request data from my Android application
I created an android application that makes some requests to a website and gets back data in JSON format, but when I make a request to a specific PHP file, something weird happens: the whole website stops working. The webpage does not load at all.…

user3520356
- 1
- 3
0
votes
1 answer
how to connect php, MySQL with android through xampp?
I am a newbie in android and working on an app. I will be using a database on a server but meanwhile I have created a database on xampp and followed this link to connect my app with the database. I am trying to register a user and store his details…

user3075740
- 119
- 1
- 3
- 9
0
votes
2 answers
how to send multiple values to web service for storing in database
I am using an web service to store multiple values in database. I have created the code but was not able to store the values in remote database. There is no error in the code but instead of the the values are not storing in database.
Here is my…

Pravesh
- 822
- 1
- 8
- 20
0
votes
1 answer
How can I use HttpClient/HttpGet to send a file to the server?
I have a client who has developed the webservices using GET method, and I'm creating the android app for him. I always used HttpClient/HttpPost to send images to the server, but know i need to send it using HttpGet instead and i'm a bit lost…

lienmt
- 147
- 8
0
votes
2 answers
Pulling data from web server and storing that data into sqlite db file locally on android device for offline use
I am working on an application on android where my current need is to pull data from web server and store it into db(sqlite db file) file which will be used further by the application to show the data to the user. I have little clue that I need to…

Mayur
- 789
- 10
- 37
0
votes
2 answers
Android Connection to php web services
I am new to android development. I have a module where I need to connect to a webservice via an android application. I have the web services in my localhost.
My question is: How to access them from my android application?
Tutorials on web says how…

user3516319
- 17
- 1
- 8
0
votes
1 answer
ListView not displayed with values in android
I have made a very simple, form with certain fields,In that i have put a ListView for country List,I am fetching all country names from a webservice,I got all data,But i am unable to set it in ListView,My ListView not visible,Please help me for…

Jigar jims
- 157
- 3
- 15
0
votes
2 answers
selected item is not displayed in spinner after loading data dynamically from webservice
I this code I am using web service to load data dynamically to the spinner. And data is properly loaded in it. But when I click on spinner to select an item the selected item does not displayed in spinner.
public class MainActivity extends Activity…

Pravesh
- 822
- 1
- 8
- 20
0
votes
2 answers
Where to store webservice urls in android application
I'm new to android development. I'm working on an application which calls the web services for registration, login, etc... Now I'm storing the url and other constants as a static final object in a class. Is this the best way of doing it or I should…

Ram
- 845
- 1
- 13
- 26
0
votes
1 answer
JSON Android Error parsing data
please I have problem with my JSON webservice. When I call function , I am getting this exception:
03-19 15:14:10.013: E/JSON Parser(12011): Error parsing data org.json.JSONException: End of input at character 0 of
03-19 15:14:10.013:…

Martin Fedy Fedorko
- 323
- 5
- 20
0
votes
1 answer
json response from url in android
i am getting response from data services after that to create JSON Array from string it showing exception, this is my code
response = client.execute(request);
// getJSONString(response);
entity = response.getEntity();
int length = (int)…
user1578542