android-volley Questions

7

i'm new to Volley and Android in general. Below is code snippet (Android using Volley) which i'm trying to execute, however it's the server returns a 400. Using another REST Client works perfectly....
Sporule asked 2/11, 2014 at 7:45

8

Is there a method to add a custom header to request when an image is downloaded? I can use volley or okhttp in Glide. I tried adding a cookie to the cookiemanager in okhttpclient, but it didn't hel...
Strophanthin asked 23/1, 2015 at 9:18

6

Solved

I am using volley for json parsing. I want to send some data using POST to server side. I am trying to send .Now can any one tell me that how can i send filter array to server? Following is my sn...
Chippy asked 26/9, 2017 at 9:31

2

Solved

I've set 1500 as initialTimeoutMs in DefaultRetryPolicy as below but it doesn't consider the timeout: request.setRetryPolicy(new DefaultRetryPolicy(1500 , DefaultRetryPolicy.DEFAULT_MAX_RETRIES ...
Kimberykimble asked 16/12, 2019 at 11:22

5

Solved

To say in simple words i want to send this {"Id":7,"Name":"MyName"} data To server using Volley Post Request. It has 1 integer and 1 String and response i get is Jsona...
Cissie asked 21/4, 2017 at 10:34

3

Solved

I have some problem for android 7.0.0. I use volley library for my application, and it works well except for Android 7.0 Here is part of my code; String url_goster = "http://185.126.217.71/clog....
Regin asked 28/12, 2016 at 15:45

7

Solved

(Edited) While hitting the API in browser, it is downloading the image. The URL is http://example.com/api/v1/filedownloader.json?file=GvygDaYb64wUon0lxp2H1458543376 . I have changed the server na...
Disremember asked 15/3, 2016 at 6:43

5

Solved

In Restkit on iOS there is a verbose debug option. RKLogConfigureByName("*", RKLogLevelTrace);. Does anyone know if there is an equivalent for Volley. Basically I am going straight to the ErrorList...
Adamis asked 20/3, 2014 at 17:1

5

Solved

My code is working on android KitKat but it when running it in Pie gives io exception Cleartext http traffic to server.com not permitted I'm using volley to make server calls.
Carrie asked 24/10, 2018 at 11:52

3

Solved

I want to use Volley to send requests from my Android app. I have included this in the build.gradle dependencies { ... compile 'com.android.volley:volley:1.1.0' } I want to use: requestQueue que...
Parashah asked 22/1, 2018 at 15:1

4

Solved

I noticed my app wasn't working on Pixel 3. I went into android studio and emulated a few devices and noticed it is not working on any Android Pie (API 28) devices, but works fine on any other. I p...
Arber asked 14/1, 2019 at 5:8

1

While implementing pagination. I faced this issue. Without scrolling the onscrolled method continuously calling. Please check my code below. For reference, I'm using Endless Scrolling with Adapter...
Algolagnia asked 15/9, 2016 at 10:5

5

Solved

I have 3 API GET calls. The problem I'm facing with my approach is, the app is able to fetch the data successfully from two APIs and I'm able to display it on UI as well. But, for the third API cal...
Knoll asked 16/9, 2019 at 16:43

1

I already have a sub class of Request<JSONObject> that is used for http post to the server. The problem is, I have no idea on how can I add a parameter for a file. Posting string to the serve...
Provocative asked 28/8, 2015 at 3:21

11

Solved

I am using Volley library in my project and getting Unexpected response code 500 as response. I have searched stackoverflow thoroughly and still unable to find solution that works. Following is...
Min asked 3/9, 2019 at 10:19

4

How can we deal with orientation changes, Activities/Fragments stoping / resuming using Volley ? I know that for GET requests, the response will be cached and the second time we attempt to make th...
Nevernever asked 20/6, 2013 at 16:26

5

Solved

If I have a server where I authenticate with username/password and get auth token for subsequent requests, what would be the best approach addressing this problem? The flow should be like this: - ...
Nigrify asked 1/7, 2013 at 8:42

6

Solved

How can I send Authorization header using Volley library in Android for GET method? This is my request code: JsonObjectRequest req = new JsonObjectRequest(Request.Method.GET, url, null, new Respon...
Arc asked 16/5, 2017 at 11:27

4

I need execute a Volley request and wait for the response to parse it and return it, but have no idea on how to achieve this. Can someone help? What I have now is this: public String getLink() { ...
Jaimiejain asked 23/5, 2014 at 16:14

3

Solved

[![Proguard rules][gson parsing version 2.8.0]][android official volley version 1.0.0] Gson parsing is not working when ProGuard rules enabled. i have used official version of Volley 1.0.0 and Gso...
Breadboard asked 14/3, 2017 at 12:57

4

Solved

I develop android application which uses Volley. All communication is done via HTTPS connection. Because I test it on local environment, I use self-signed certificates for Tomcat. Before, I had on...

6

Solved

Before I am using Volley, well as usual, I used AsyncTask to check my internet state. Here is what I did in AsyncTask: private class NetCheck extends AsyncTask<String, Void, Boolean> { @O...
Important asked 9/1, 2014 at 3:48

9

Solved

Problem statement: I am trying to access an REST API that will return a JSON object for various HTTP status codes (400, 403, 200 etc) using Volley. For any HTTP status other than 200, it seems th...
Geosynclinal asked 7/11, 2014 at 8:20

6

Iam calling web service in android . in that i want to call the URL i am not sending any params to the server, just calling the URL , But its getting Error like [10520] BasicNetwork.performReq...
Frequentation asked 6/4, 2015 at 9:39

2

I am trying to connect to a django server from my android application. I am trying to access my api, making a POST request with volly. Everything is set. All the params and headers required, but st...
Ramon asked 8/8, 2015 at 9:21

© 2022 - 2024 — McMap. All rights reserved.