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
vote
2 answers

Getting error in AsyncTask when using Httpclient and Http core library

I have used the following code but it gives error when executing the Asyntask and also I have posted my JsonParser class.Please guide me how can i remove this error. public class Login extends Activity implements OnClickListener { …
hasnain_ahmad
  • 325
  • 6
  • 17
1
vote
0 answers

How to accept Self Signed Certificates on Android

After a couple of days of fruitless searching and trying various suggestions and examples im still struggling with this. The situation is we are developing an Android app against a DEVELOPMENT system (ie not open to use outside IT). It has a self…
MagicWand
  • 392
  • 1
  • 6
  • 19
1
vote
0 answers

AsyncTask in KSOAP2

I do my work using KSOAP2 to get data from .net WebService. here is my main part in code private static final String NAMESPACE = "http://tempuri.org/"; private static final String METHOD_NAME = "CountCatalog"; private static final String…
user3009966
  • 41
  • 1
  • 6
1
vote
0 answers

error instanceof NoConnectionError is not wroking in volley library android

In my project i am using volley library for network call, my problem is my mobile is connected with internet but if i call the service using volley library its accessing the public void onErrorResponse(VolleyError error) { and if (error instanceof…
John
  • 1,407
  • 7
  • 26
  • 51
1
vote
0 answers

How to make request in Android equivalent to these curl commands

I've developed an API in Flask for a project in Android but I don't know how to call the service and get data back from it. The examples that I have seen don't tell me anything about including username and passwords and data like I would do with…
Sean Downey
  • 25
  • 1
  • 5
1
vote
1 answer

how to code for config files in android?

My aim is to call remote web services of a web application in order to invoke them in my android application. But i am unable to prepare config files such as verifying login credentials, getting authentication ticket & so on. Can anyone provide some…
1
vote
1 answer

SOAP request in android, JSON response parsing

I want to consume the C# web service from android application.. In my project I'm using SOAP in request for taking data back, with kSOAP 2 library, but when I'm doing "invoke" on my ......asmx , C# backend, with this code SoapObject…
android.dk
  • 19
  • 1
  • 8
1
vote
2 answers

How to send following parameter to the json webservice

I am working on an android app based on webservice. I have one problem how to send create following strucure and post to the webservice. Following the structure. { "petData": { "pet_name_string(petname_gender_size)": [ { …
1
vote
2 answers

Android Call XML Webservice containing parameter in url

I am trying to call webservice with get method which containing parameter in webservice. but i am unable to find answer on internet please any one could helpe me.my webservice given…
user3395433
  • 123
  • 2
  • 10
1
vote
1 answer

Android fragment data loss

Ok so i have an app with the navigation drawer. Every menu item in the drawer opens a different fragment which i display to the user and it works great. One of these fragments (DashboardClientFragment) has a call to a webservice in its…
SpanK Me
  • 35
  • 5
1
vote
2 answers

Upload Manager for Android

I have to upload audio files and I am using volley for now. And I am happy with volley and download manager for downloading from server. Upload also I am using volley is it fine. Or should I change it to Services or Is there any Upload Manager…
user1871847
  • 44
  • 1
  • 5
1
vote
1 answer

android communicate with webpage, get 502 error

I have a friend who's written a servlet which just serves XML (just XML, no SOAP or etc., Content-Type: text/xml). Now I'm trying to access it using android. I can access the page fine if I surf to the page with Firefox, but if I access it using my…
user211992
  • 330
  • 6
  • 17
1
vote
0 answers

Responce parsing from .net webservice in android

I am Connecting to .NET web-service in android.and For login I used the code Login method: public void logingin(View vvvv){ if(Utils.CheckNet(contect)) { cv=new ContentValues(); cv.put("process", "login"); cv.put("username",…
1
vote
2 answers

program-o for android chat bot application

I am developing android chatbot application using program-o. I have program-o running on my localhost. I went through program-o documentation but still, I'm not able to understand what changes I need make to enable the communication between my…
Vijay Vankhede
  • 3,018
  • 1
  • 26
  • 46
1
vote
1 answer

Store json data into database for reduce internet charges

I have developed an application that can fetch data(Images and Text) from server using json parsing so my question is i am trying to implement like one time data download and store some where in my device and when I am run again application it fetch…
user2776223