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
0
votes
1 answer

How to fetch JSON content from web to our program

I am a newbie to android and I started to work with JSON and don't know why they use HTTP, etc, Doubt 1:I am pretty confused as sometimes they use DefaultHttpClient and some other time they use Httpclient Doubt 2: I saw two syntax used for same…
srujan maddula
  • 1,190
  • 2
  • 11
  • 19
0
votes
0 answers

how to send data to webser from android app

i want to send data to online web server and i created database ...and i can transfer data through website but when i try to send data from my android application ..i cannot able to send it...i don't know that can transfer data with out create web…
bhavdip
  • 189
  • 5
  • 20
0
votes
1 answer

I have WCF(odata) services how can i get response in android

I have Wcf(Odata) Services to get database values into client mobile. how can i get response from the service and store in local database. if you give any example it is very useful for me
user1578542
0
votes
3 answers

which type of web services can a Android App talk to?

I was reading that SOAP is really not for Android. Rather Android prefers REST web services. So my question is, are there any other kinds of restrictions ? For example, some web services are built with JAXB. Is that ok for Android apps ? I other…
user3134565
  • 965
  • 1
  • 7
  • 14
0
votes
1 answer

Calling soap webservice in Android giving NPE

I know there is already many question related this problem but still i am unable to find out why its giving NPE. package com.example.soapweb; import java.util.HashMap; import org.ksoap2.SoapEnvelope; import…
Neha Agarwal
  • 622
  • 7
  • 24
0
votes
1 answer

Send data to server and handle response - Android

I'm trying to post data to a this webservice, but seems I cannot get this right! So Im trying to post json to the server but I dont know how to do that. I need to send this example json in order to get a json responce: Content-Type :…
Darko Petkovski
  • 3,892
  • 13
  • 53
  • 117
0
votes
1 answer

How to access Microsoft SQL Server database ‎for Android application?

I am going to develop an Android application for a client. In which the data for the application is saved in the Microsoft SQL Server Database. Usually I retrieve from MySQL database with PHP as webserver and parsed with json, I am not having hard…
Noufal
  • 439
  • 1
  • 13
  • 35
0
votes
2 answers

How to use Android SOAP Webservice Call

I am having a lot of trouble finding good information on how to call a standard SOAP web service in Android. any help
venu
  • 2,971
  • 6
  • 40
  • 59
0
votes
1 answer

Android call a .net webservice that needs to communicate with Windows Form Application

i'll try to explain you my problem. I have to call a .net webservice with my android device. But, this webservice needs to add items on a queue on an another service who's running on my server. Android ---> .net WebService ---> add items on queue on…
JossVAMOS
  • 300
  • 1
  • 5
  • 20
0
votes
2 answers

How to parse the webservice response?

I want to know how to parse the web service response data in android .Actually i m accessing the .net web service.I can get a result of some complex type.i want to know how to retrive a particular value from this complex type.Is there is any parser…
Kumar
  • 5,469
  • 20
  • 64
  • 87
-1
votes
1 answer

Php web service.How to get data from a database?

I am developing an adroid app and I faced some trouble about php web service. I want to get user type information form database and according to the answer I will do some process in the background. So in my authentication code there is a area like…
Agent48
  • 61
  • 1
  • 4
-1
votes
1 answer

How to download a pdf file from a php powered website with URL of kind http://myurl.com/file.php/...../requireddownload.pdf

I have tried out many ways like using async task and default download manager, but, I ended with downloading a file (I believe that it is downloading file. php instead of the requireddownload.pdf file), which is not the required file. However the…
-1
votes
1 answer

how do I transform a string of url's into drawable?

I currently have an arraylist as follows: private void loadImages() { images = new ArrayList<>(); images.add(getResources().getDrawable(R.drawable.imag1)); images.add(getResources().getDrawable(R.drawable.imag2)); …
-1
votes
1 answer

How to download image and save this in Android

I want show posts into my application and my posts has title, description, image and more ... I want when download and show posts images from server, download this in phone and when show again this images not downloaded again, just show this from…
zzz
  • 41
  • 6
-1
votes
2 answers

How to Consume JSON as input in PUT and POST method of REST webservice in android?

I want to consume rest webservice get and post method json format in android application. But I dont know how to consume and get the data from server can u please guide me to get and post the json data to server in android platform.