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
0 answers

how to send request to wcf webservices in PAN using bluetooth in android

i have a data service in PAN, Can it possible send request from mobile to server using bluetooth in Personal area network(PAN)..
user1578542
1
vote
1 answer

How do I call Web Service written in Python from Android app

Here is my web service code I can call it in my browser using http://sheltered-taiga-3258.herokuapp.com/toi/ I am collecting Input parameters from user on android device. Obviously web service returns a JSON data which I need to…
Yogesh D
  • 1,663
  • 2
  • 23
  • 38
1
vote
1 answer

Parsing issue in SAX parser android

I want to parse data following pattern Pattern Link My code is below public class PriceXMLParsingExample extends Activity { /** Create Object For SiteList Class */ PriceList sitesList = null; /** Called when the activity is first created.…
Harshal Kalavadiya
  • 2,412
  • 4
  • 38
  • 71
0
votes
1 answer

How to invoke Webview button clickevent in Android?

I am developing an android app with a web app loading on WebView. I want to invoke the web app button actions. I have implemented some changes on webpage to invoke native methods as shown below. mWebview.addJavascriptInterface(new Object() { …
0
votes
0 answers

ProgressDialog is not showing when calling OKHttp request in Android

While calling okhttp request, progressDialog not showing.I am showing the progress dialog before calling the request and dismiss the progress dialog after getting the repsonse. Here is the code. progressDialog.show(); GetLogin logResp = new…
cijo
  • 13
  • 1
  • 6
0
votes
1 answer

WebService ERROR API not working properly?

I have trouble whit the web service API i have prestashop 1.7.6.4. When i generate an API key for my store android app i just get some products (like 20 products) and i don't get the other products and also i didn't get Categories from website. I…
0
votes
2 answers

Logging into a website using Android app (Java)

I am currently trying to make an app that would allow you to log into your account and view whatever data needs to be displayed. I am not using webview but instead, for displaying information I will be parsing data from HTML and then working from…
Vitaliy-T
  • 733
  • 6
  • 23
0
votes
2 answers

Volley error response bytes does not convert from bytes to string

CustomStringRequest customStringRequest = new CustomStringRequest(requestMethod.ordinal(), serverUrl, result -> { Log.d(TAG, "headers: " + result.headers); Log.d(TAG, "response: " + result.response); …
Abdul Salam
  • 73
  • 1
  • 7
0
votes
1 answer

How to consume ASMX soap in Xamrin Android application?

I downloaded sample, went through tutoral for "Consume an ASP.NET Web Service (ASMX)" in Xamarin forms at https://learn.microsoft.com/en-us/xamarin/xamarin-forms/data-cloud/web-services/asmx. If I run from visual studio the web service runs in…
0
votes
4 answers

share via facebook and whatsapp in web view

I have a webview from which user can share a link to whatsapp but i want that when ever user share a link via whatsapp from webview my app name should also be sent in that text file . webview is in fragment i want that my app name should be…
anshul raj
  • 173
  • 2
  • 17
0
votes
1 answer

Wait for Retrofit API to update before creating Android fragment view

I'm trying to use geolocation to get the lat/lon coordinates and use them to fetch weather data using an API, but the android view finishes before it can update the coordinates. It ends up using 0.0 by default, and that gets passed into the API…
0
votes
1 answer

Got Invalid Content Type while implementing message 91 API?

I am facing a issue where I got invalid content type when I am hitting Message 91 API I have used AndroidFastNetworking library to implement APIs, it perfectly works in Postman, but facing an error 'Invalid Content Type' private void sendMsg(String…
Prateek Gupta
  • 148
  • 11
0
votes
1 answer

Adding parameters on Restful API using JsonObjectRequest on Android Studio

I'm calling a restful api on my android project and I used Volley and JsonObjectRequest, I thought that the third parameter of the JsonObjectRequest which is jsonRequest are the api parameters so I created a json object for that which in the end I…
Kevin Bryan
  • 1,846
  • 2
  • 22
  • 45
0
votes
1 answer

creating layout in recyclerview list respective to the arraylist in json response

I am developing a food order application.I am having a page to display menus in a particular hotel in a recyclerview.Please see the image below to understand my question.Hotels have menus like bestsellers,soups,maincourse,starters etc...Some hotels…
0
votes
0 answers

Not getting any result data in Postman while executing PHP script

I have hosted my php file on AWS EC2 instance(runs Ubuntu). My other php files are getting perfectly executed and giving me desired output while the following code produces an error. ERROR : 500 Internal Server Error and shows hat unexpected end of…