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
3
votes
0 answers
how to send post request with raw json using volley in java android
my sample input that i have to send in post request to the web service is
{
"Inputs": {
"input1": {
"Values": [
[
"12-12-2012",
"100",
"100",
"10",
"10",
"10",
…

saurabh
- 31
- 3
3
votes
2 answers
How to secure the apis and relevant data from displaying in android monitor?
I am working on an application which is already uploaded on app store. When I download the apk from the app store, install and run it on my device, and open Android studio alongside (any random project), the Android monitor shows all the apis links…

Nizami
- 227
- 1
- 5
- 15
3
votes
1 answer
What is purpose of Map interface in android using volley library?
I have use the below code to implement the login system for my app. I have use “Map” Method. What is the purpose/function of the “Map” Method?
@Override
protected Map getParams() {
// Posting parameters…

hasnain_ahmad
- 325
- 6
- 17
3
votes
0 answers
How to connect volley to recyclerview?
I am trying to take data from web and by the help of volley and display it in Recylerview.
I can easily display data in toast but in case of recylerview I am having problem. I have follow Slidenerd from…

Ravikant Paudel
- 2,228
- 2
- 17
- 28
3
votes
0 answers
First Web API call delay, from Android application
I have a Web API Asp .Net that can receive an HTTP Post request. I have tested the web service from Postman - Rest Client, or other similar application, and all works fine: the web service responses me immediately. But If I try to call the same web…

GVillani82
- 17,196
- 30
- 105
- 172
3
votes
2 answers
how to upload picture file to mysql from android using Restful webservice
I would like to upload image to mysql database from android app using RESTful service.
Is their any service side and android side tutorial.Please kindly help in providing RESTful and android samples
Thank in advance

nagagani
- 37
- 5
3
votes
1 answer
IllegalArgument Exception in Base64 File Upload in Android
I got exception in base64 File Upload in Android. I refered so many thread in Stackoverflow, but no posts solves my problem. Please help me out from this issue as soon as possible.
I'm pasting my logcat error here
02-07 19:18:11.536:…

RajeshVijayakumar
- 10,281
- 11
- 57
- 84
2
votes
1 answer
Android Web socket Service is not maintain web connection when mobile screen off
I am using node.js web server by heroku and android client for web socket.io communication
I want to receive server message whenever it send to client Android, even the Android screen off
so I am basically make Service , socket.on listener , thread…

lee du
- 69
- 1
- 6
2
votes
2 answers
Android Release APK Not Parsing JSON From Web Service with SSL Using Retrofit2
I have created a REST web service using SSL, i.e., https://api.bmcstudios.org
The endpoint that I am trying to hit is:
GET https://api.bmcstudios.org/member
The expected response is
{
"members": [
{
"memberId":…

Brandon
- 1,401
- 1
- 16
- 25
2
votes
0 answers
CSRF token validation failed : Retrofict Post
I'm developing an Android app and I need to POST data to a service (SAP Hybris marketing).
For doing that I first get the CSRF token from the service and then I try to post JSON data using the token for authenticate.
This is my code:
public…

Pie
- 47
- 4
2
votes
3 answers
How to request for login with email and plain text password in cakephp3
I am new in php and working on REST API in cakephp3 for my android application.
after setting up php and composer and routing I created login function..
public function login() {
$this->request->allowMethod('post');
…

Cruiser Raga S
- 100
- 8
2
votes
2 answers
Android Retrofit : Wait for response
I am implementing retrofit 2 in my app to call web services. My code is as below :
SignUp.java
ConnectionDetector connectionDetector = new ConnectionDetector(SignUpActivity.this);
if (connectionDetector.isConnectingToInternet()) {
…

Manoj Fegde
- 4,786
- 15
- 50
- 95
2
votes
2 answers
Getting error while applying Glide dependency
*Error:(30, 13) Failed to resolve: com.github.bumptech.glide:glide:4.0.0-RC0**
Show in File
Show in Project Structure dialog
I am using android studio version 2.3.2

R.H
- 318
- 2
- 12
2
votes
2 answers
Ajax succes in loop to set global variable
I want to set global variable from function and loop ajax to get distance.
However the nearestIndex variable is always undefined.
First solution I got was to use async: false - this is work in my pc browser, but this project is webservice to…

fadli hudaya
- 97
- 2
- 7
2
votes
1 answer
Differentiate language of data sent to a WebServer?
I'm posting Hindi / English / Marathi data to server. The server side is able to detect the data if it is in English but they're not able to detect it if the data is in Hindi / Marathi. I'm using below mentioned code for this -
public static String…

Amrut
- 2,655
- 3
- 24
- 44