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
2 answers
how can i Fix this CalledFromWrongThreadException?
so i am trying to learn the android web services and when i run my
code i get this Exception can you :
FATAL EXCEPTION: Thread-4
Process:…
user5944704
0
votes
1 answer
which one is best web service like Asynk task and volley web service in android
what is the def. between this web service like Volley and Asynk task web service in android and which one best.
i am using restfull web service with using Asynk task but i dint now what is the deference between this two.

Akash pasupathi
- 304
- 1
- 14
0
votes
0 answers
session value null in php webservice
In my android app, I want unique id for every user. I have already done with $uuid = uniqid('', true); this fuction in php. It will generate unique id per user and it will store in database. Now I want to get this id on next page. I will use…

android developer
- 43
- 1
- 1
- 11
0
votes
1 answer
Want to store listview data locally once in a day
In my android app a list view contain so much data (Approx 1832 items) using webservices . I wanted to get the data from server once in a day and use that data without calling webservice . Is it possible to store that data in cache or somewhere else…
user7615915
0
votes
1 answer
How to create http connection which handles automatically if client changes activity
I have crated login application which is a part of my native application building process.There are few end points which uses login session.I am getting successful result for login endpoint but It was not forwarding its session to next activity.For…

Arun
- 25
- 6
0
votes
1 answer
Application was crashing after successful Login through android emulator
I am using my web application endpoint to create a native login android application. But while attempting to login I can see the login successful result on console log.But I want that activity to redirected to another activity. Below I am posting…

Arun
- 25
- 6
0
votes
2 answers
How to not convert Date and time to any time zone
I am accessing Dot net web services and using Ksoap library as my web services are Soap based.
Basically i want to save the dates and show them in list at it is. I do not want the date conversion to any specific region or time zone.
my dates which…

Umair
- 6,366
- 15
- 42
- 50
0
votes
1 answer
I need particular ID for authentication for REST web service .?
How to get any device ID that will authenticate and validate in REST web service for particular web service.
I can not use IMEI or MAC for storing in server and authenticate hex string .I found about Secure Android ID but it has wide range ,if…

Harsh Bhavsar
- 1,561
- 4
- 21
- 39
0
votes
0 answers
Open only one web page in the app only on successfully scanning a QR code
public void receiveDetections(final Detector.Detections detections) {
final SparseArray barcodes = detections.getDetectedItems();
if (barcodes.size() != 0) {
barcodeInfo.post(new Runnable()…

AAA
- 47
- 2
- 12
0
votes
1 answer
How to show download in statusBar in Android
I want download file from server, for download i use this code and write below codes:
public class MainActivity extends AppCompatActivity {
Button download;
TextView downloadCount;
ProgressBar progressBar;
Future…
user7011594
0
votes
0 answers
Send data to webservice from android using or Get request method
I want to send data from the app i'm building to a web service once its deployed and launched. How do I do that using either the get method or post method?
For instance: Get(String phone, String message) {}
with the…

Joshua Jumbo
- 69
- 1
- 10
0
votes
1 answer
How to handle concurrent tasks on php based webservices for android app
I have developed a very basic php based webservice to communicate with my android application. This is working fine and I am able to get the data, but when I simultaneously try to access the service from multiple devices or even from browser, only…
user2352752
0
votes
1 answer
String could not be parsed as XML php android webservice Error
it is not passing url value from php to xml conversion
Warning: SimpleXMLElement::__construct(): Entity: line 141: parser error : EntityRef: expecting ';' in /home/u395985035/public_html/ddd/ddd.php on line 34 …

JnT
- 21
- 8
0
votes
2 answers
Retrofit- Android : Request method not accepted
In my android application, i am trying to use retrofit to make api calls. I want to perform user registration using retrofit. The problem is that, api call is executed and debugger also goes to onResponse(), but my api returns response message as…

Zankhna
- 4,570
- 9
- 62
- 103
0
votes
0 answers
Android okhttp: creating WebSocketCall does not work properly
so I am trying to figure out how to establish wss connection for my android app and here is the problem I am facing right now:
Here is my ApiConnection class:
public class ApiConnection implements WebSocketListener {
private static String…

Daniil Orekhov
- 428
- 1
- 6
- 20