android-volley Questions

9

At the moment i´m using mRequestQueue.cancelAll(getActivity()) at on stop method in a fragment but apparently when i move the phone from landscape to portrait it is still returning the data made in...
Globoid asked 27/5, 2013 at 13:48

4

Solved

I am using the Volley framework in a project where I always need to handle the redirects myself to handle the headers. How redirects are handled depends right now on the method and the transport ...
Ethylethylate asked 13/9, 2013 at 12:13

2

Solved

I used Volley library to download a image with the help of Singleton class. Problem : If I used a single ton class I can download a image successfully with in a time and also I noticed that image...
Tankard asked 13/12, 2016 at 11:32

3

Solved

I would like to upload large files in a POST request using Volley. I tried to use a VolleyMultiPartRequest library, but I get java.lang.OutOfMemoryError: 2020-11-13 19:14:06.636 18802-18802/com.exa...
Benzofuran asked 13/11, 2020 at 18:22

1

Solved

I'm using paging 3 to load some data in recycler view. I fetch data from the server and then store them in my local database. so here is my DAO interface: @Dao interface TicketDAO { @Insert(onCo...
Outplay asked 3/11, 2020 at 12:9

6

I have this error: Volley: [8918] BasicNetwork.performRequest: Unexpected response code 403 for I'm trying to connect in the serve,r but I can't retrieve anything. When I tried it in a localhost s...
Locule asked 2/3, 2016 at 3:58

3

Before making the question, I found some links, which I checked, one by one, and none of them, gives me a solution: well-kown CA HTTPS request using volley accept all SSL certificates No peer cer...
Yama asked 18/9, 2016 at 4:8

9

Solved

I am using android Volley for making a request. So I use this code. I don't understand one thing. I check in my server that params is always null. I consider that getParams() not working. What shou...
Blanketing asked 7/11, 2013 at 13:58

2

I try to make call request with Volley library. I want to set headers, but I'm getting java.lang.UnsupportedOperationException. Do you know why , and how can I solve this problem ? public void g...
Sommers asked 20/4, 2016 at 16:47

10

Solved

I am trying to make a https request using this code: RequestQueue queue = Volley.newRequestQueue(getApplicationContext()); request = new Request<String>(Request.Method.GET,"https://devblahbl...
Flowing asked 11/6, 2013 at 13:48

8

Solved

I am getting this error while making a network request using volley library,I have followed these links Android Volley - BasicNetwork.performRequest: Unexpected response code 400 and Unexpected res...
Tsarevitch asked 15/9, 2016 at 7:39

3

Solved

I'm using Volley to POST some data stored in a local database to a server. The problem is when I have a big number of entries (for example 500) I get this error: java.lang.OutOfMemoryError: pthre...
Wheaten asked 29/2, 2016 at 13:59

8

Solved

Imagine I'm in a Service that already has a background thread. Can I do a request using volley in that same thread, so that callbacks happen synchronously? There are 2 reasons for this: First, I d...
Crescentic asked 3/6, 2013 at 19:51

2

Solved

Something bad is happening when using Volley to treat a large response: String url = AppHelper.DOMAIN + "/service/pages/profile_update.json"; this.infoTextView.setText(getString(R.string.profile_...
Assai asked 25/7, 2016 at 12:20

7

Solved

I am trying to understand Volley's image caching. I have a fragment with gridview inside it, which will load around 12-30 images. There images are retrieved from server and i am using NetworkImageV...
Melanimelania asked 18/2, 2014 at 9:6

8

I want to make a POST JSONObjectRequest with form urlencoded parameters. How can I do this? I've tried the following code, but to no avail. final String api = "http://api.url"; final JSONObject jo...
Jaundiced asked 23/9, 2014 at 15:6

3

I am using Volley library in android.I run the same url in the browser and it returns in less than a second.I would like to know , how can optimize Volley? Not clear on what is the Cache Queue Take...
Gertie asked 26/7, 2013 at 17:11

2

Solved

I have created JSONRequest by using volley, It successfully hits the service, I checked the service end, It receives the data, and send "Success" in return. The problem is that, Service returns St...

2

If I make two HTTP requests to the same URL, one with only HttpClient and the other with Volley, the Volley requests takes much longer. For example, in my test environment: using HttpClient dire...
Confirmation asked 7/6, 2013 at 18:51

5

They tell everywhere that we should use ASyncTaskLoaders because they are very good at not blocking the UI thread. And there is Volley to use now. I guess we cannot use both of them because Volle...
Stent asked 29/7, 2013 at 10:15

4

Solved

I got this error from volley library @Override public void onErrorResponse(VolleyError error) { error.printStackTrace(); } the error com.android.volley.ParseError: org.json.JSONException: Val...
Fumed asked 8/1, 2014 at 14:6

18

Solved

I have a problem with Volley POST request on slow network. Everytime I see BasicNetwork.logSlowRequests in my LogCat, my POST request is executed twice or more resulting multiple (2 or more) postin...
Bigwig asked 15/3, 2014 at 19:1

1

Solved

I want send POST HTTP request via CustomTab or Chrome then show page finally. I many research but no way for it. is there a way? can send POST request via Volley then show response in browser final...

5

Solved

I'm developing an Android app that communicate with a RESTful web service I wrote. Using Volley for GET methods is awesome and easy, but I can't put my finger on the POST methods. I want to send a...
Eclosion asked 6/11, 2015 at 19:0

3

Solved

I'm using volley for make HTTP requests from my Android application. Here is the code I'm using: public class RequestPool { private static RequestPool mInstance; private RequestQueue mRequest...
Zambia asked 10/5, 2015 at 8:48

© 2022 - 2024 — McMap. All rights reserved.