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
1 answer
Null pointer exception: unable to parse the Json data. (null object reference)
Iam trying to get the data from url. I have read lot of post regarding same question but nothing works. please help me out to slove this issue... ill post my code below
JsonParser.class
import android.util.Log;
public class JsonParser {
final…

Arun Kishore
- 119
- 3
- 12
0
votes
1 answer
Getting the path to upload Image from Android to Server
I'm working on code to allow user to choose image from gallery and upload it to server using Base64. Every thing work fine until I test the code on API > 19 and getting an error.
Here is my code:
// Upload Image :)
…

Sara1994
- 27
- 4
0
votes
0 answers
User authentication via android application in laravel 3 web service
I am using laravel 3 for my web application. As its outdated now so i am not getting any help for laravel3 for: android application integration with laravel 3.
Problem: when i submit get request to my web services but when i submit post request to…

karan pujara
- 40
- 7
0
votes
1 answer
how can I parse json in android?
I am going to do when user enters 'silent' in edittextbox in android the another textbox will show this two passwords 'umbrella' and 'umbrella12'.
I am trying to pass this type of Json
{
getValueResult: [
{
password:…

Dhaval Shah
- 618
- 6
- 15
0
votes
2 answers
ListView not updating after web service Sync
I have impelmented SyncAdapter that calls webservice and insert/update database. I would like to show some of this data in ListView so i implemented ListFragment in witch the data is displayed via CursorAdapter. And everything works ok, except when…

alensp
- 23
- 7
0
votes
1 answer
Prioritize intents in IntentService
Here is what I do now:
I have a service that runs in the background and reads user location. Each time a valid location is read (there are some parameters like distance and time) an IntentService is started to send that location to a web server
The…

Alin
- 14,809
- 40
- 129
- 218
0
votes
1 answer
how to send post request use Volley?
String url = "url.php";
ProgressDialog pDialog = new ProgressDialog(this);
pDialog.setMessage("Loading...");
pDialog.show();
JsonObjectRequest jsonObjReq = new JsonObjectRequest(
Request.Method.POST, url, null,
…

Priyank Prajapati
- 183
- 10
0
votes
0 answers
To know the version of the code without installing the application at android
We have our update server, we have a different apk (different version of Android code).
A) The first arc API 11 and above
B) The second apk API 16 and above
How can I find out the version of code on the device without installing the application. It…

AndreyNik
- 1,581
- 2
- 17
- 24
0
votes
1 answer
i am trying to fetch the json post data from android app to php web service but it can't fetch. the code show below which i used
I have created this code to fetch the data from android app. after fetching the json data i am decode them and then i fetch the key variable that is base 64 code of image and ori_name variable which is image name. after that i am creating image file…

Safi Belim
- 1
- 1
0
votes
1 answer
Android localhost url is not working for tomcat 7
I am using tomcat 7 from Java EE eclipse i also made a code for server part. In android i also made a project and ran it and using HttPGet of server part Url but my getRequest is not working.
My server is working in that…

Razil Kala
- 19
- 1
- 7
0
votes
1 answer
Is it possible to get dataset which is returned by asp.net webservice on Android using SOAP ?
I have a webmethod which returns dataset from MS SQL.
I have an android application to get the dataset.
And is it possible to get the dataset using SOAP and how ?
Can anyone help me?
Thanks for your attention.

Halit Ciftci
- 21
- 8
0
votes
1 answer
Can we propogate signal from android application to know another user having the same application in android phone
I am building an android app as my project. I need to implement a functionality which can let me know the same types of users (having my application in their phone) around in 1-5 meter distance. Is there anything that i can use or can i propogates…

punkb
- 53
- 12
0
votes
1 answer
url.openConnection() does not open the connection to the server
I'm going to use HttpUrlConnection for calling a WebAPI. I simply call url.OpenConnectionMethod() to open the connection, but it doesn't work. Both allowUserInteraction and client.connected values of HtpUrlConnection instance are false.
URL url =…

Vahid Ghadiri
- 3,966
- 7
- 36
- 45
0
votes
2 answers
How to sincronize requests application android to webservice(REST) in real time?
I have an application that it makes requests to a webservice REST created using PHP. It's working perfectly my application makes requests and receive the data. But a want to know how can I make in my application to sincronize in real time with my…

user3869064
- 13
- 3
0
votes
3 answers
Prevent unwanted access to my web service
I have coded a C# MVC5 Internet application and I have a Web API 2 web service that returns JSON data. I am retrieving this JSON data in an android application.
How can I add a feature to the web service such that only my android application can…

Simon
- 7,991
- 21
- 83
- 163