android-volley Questions

0

My custom request object is a MultiPartPost Request and has a CountingOutputStream so that I can observe the current upload progress. I am using the custom Request class from this answer : https://...
Cookie asked 3/1, 2016 at 14:28

3

I am developing project in which i have to download some images from server. I have tried these 3 methods. Picasso: Picasso.with(context).load(image).into(holder.image); Glide: Glide.with(cont...
Interpellate asked 29/12, 2015 at 5:32

1

Solved

I am sending some post data using volley. Here is my code . It's a snippet from background service. Let me know if you want other files also. I've added the internet permission. public void onLo...
Compel asked 19/12, 2015 at 5:2

2

My code gives correct response and sets transaction ID correctly. But on screen, the ID is missing the first time I submit, and when I go back and submit again, then the ID on screen is the ID of t...
Grubb asked 18/12, 2015 at 10:7

3

I would like to ask how to get status code when using Volley. I have following code: StringRequest stringRequest = new StringRequest(Request.Method.GET, url, new Response.Listener<String>...
Kristoforo asked 12/8, 2014 at 18:37

2

Solved

I have gone through a lot of post in SO and other tuts as well.But i couldn't get any latest official or other post that doesn't contain any deprecated code for uploading multiple images using voll...
Newspaperman asked 14/12, 2015 at 5:10

6

Solved

any idea how to play a fade in animation when image loads? Now it just blinks into place. I am using NetworkImageView from the Volley toolkit. Also, is there a way to set loading and error bitmaps...
Ruminant asked 27/5, 2013 at 17:53

2

Solved

I am having an issue in the app which I think it may be connected to Volley pulling data from the cache. Namely, the app is heavily bound to the API so each change is being sent to the API and th...
Ulrikeulster asked 3/12, 2015 at 10:52

4

After making a second network request using Volley, I always get this error. It doesn't seem to matter what the url I put in is. Volley always claims it is malformed. 08-04 20:16:26.885 14453-1447...
Hillari asked 5/8, 2014 at 3:30

3

Solved

I haven't been able to find a detailed answer to this question, or at least not one that I can understand. I'm trying to set up Volley to pull down JSON-objects from iTunes. I then want to parse ...
Titre asked 25/11, 2015 at 22:46

3

Solved

I am following up image cashing tutorial using Volley on Android developers, I am having problem with requesting an image request and caching it, I guess because of the singelton that I created (co...
Comstock asked 12/8, 2015 at 18:3

4

Solved

I'm testing Volley's HurlStack in Android M Developer Preview. After I change compileSdkVersion from 22 to 'android-MNC', all classes from org.apache.http are not compiled: import org.apache.htt...
Claudeclaudel asked 10/7, 2015 at 21:48

2

Solved

I am using Volley for my Android app to fetch data from my server. It works well except when handling the error from my server. My server sends this response when there is a mistake: { "status": ...
Auspicate asked 18/2, 2014 at 23:38

3

Solved

I encountered the method public static void wtf(String format, Object... args) { Log.wtf(TAG, buildMessage(format, args)); } public static int wtf(String tag, String msg, Throwable tr...
Sepulcher asked 12/11, 2015 at 7:54

2

Solved

I'm writing my app with Google Volley and Gson to talk to a REST service with OkHttp as HTTP-Stack. That works good most of the time but when I pause my app and return to it the HTTP requests don't...
Mealy asked 8/9, 2013 at 17:38

1

I am trying to get Volley to work using its Cache. When I receive a 304 getCacheEntry().data is null even though "cache-control" is set. Here is what I am doing: Volley gets instantiated likes th...
Cockcrow asked 9/11, 2015 at 9:57

1

in my cache mechanism after add the request to the RequestQueue and try to fetch data from server, my cache method return multi duplicate result from server return json string RequestQueue queue =...
Farleigh asked 27/10, 2015 at 19:9

1

i am constantly monitoring my app errors and I see the following error too many times javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0xb8f0fc2...
Boardinghouse asked 17/7, 2015 at 8:3

7

I am using Volleyin my project for handling network requests. Here is a sample JSON my server returns JSON Object Response {"code":"success", "data":{"some data"}} JSON Array Response {"code...
Serrulation asked 31/8, 2015 at 4:56

2

Solved

This nice tutorial is a very good introduction to account authentication on Android and doing it by utilizing Android's AccountManager. However, I need to create a client app for an OAuth2 API usi...
Subjectivism asked 17/12, 2013 at 18:41

1

Solved

I am using Volley JsonObjectRequest to get data from server. code snippet: JsonObjectRequest jsObjRequest = new JsonObjectRequest (Request.Method.GET, url, null, new Response.Listener<JSONObj...
Sayers asked 30/9, 2015 at 9:16

2

I'm using the latest Volley library and I'm having issues when my api is returning a 204 with no body in the response. It seems that the following code in BasicNetwork.java isn't working as expecte...
Kbp asked 10/12, 2014 at 3:21

1

Solution Given below I am using volley library to upload image. Condition is I require to send key1 = String value key2 = String value key3{=file} = Image value i.e. jpeg, jpg This is the c...
Kisser asked 26/9, 2015 at 11:37

1

Solved

I want to send a simple POST request in Android with a body equaling this : [ { "value": 1 } ] I tried to use Volley library in Android, and this is my code : // the jsonArray that I want ...
Kenyettakenyon asked 23/9, 2015 at 17:2

3

Solved

How can I use session cookies using the volley library with a request like this? JsonObjectRequest jsObjRequest = new JsonObjectRequest(Request.Method.GET, url, null, new Response.Listener<JSON...
Forage asked 26/6, 2013 at 15:51

© 2022 - 2024 — McMap. All rights reserved.