Top "Android-volley" questions

Volley is a Google library for Android that makes networking and remote image loading easier and faster.

How can I return value from function onResponse of Volley?

public class getString { String tag_string_req = "string_raq"; String url = "http://10.0.2.2/eat/locations/index.json"; String result=""; public String …

android android-volley
Android Volley + JSONObjectRequest Caching

public class CustomRequest extends JsonObjectRequest { public CustomRequest(String url, JSONObject params, Listener<JSONObject> listener, ErrorListener errorListener) throws JSONException { …

android caching request response android-volley
getApplicationContext() on a null object reference

I allways get this java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.content.Context.getApplicationContext()' …

android nullpointerexception android-volley android-context
Android Volley gives me 400 error

I'm trying to make a POST request to my API and it works in Postman (I get a valid JSON …

android rest android-volley
Send form-urlencoded parameters in post request android volley

I want to make a POST JSONObjectRequest with form urlencoded parameters. How can I do this? I've tried the following …

android android-volley
NullPointerException addToRequestQueue(com.android.volley.Request, java.lang.String)' on a null object reference

I'm using AndroidHive register login and it's working fine in example project of this login-register. But after many attempts trying …

android android-volley
Volley and AsyncTask

I read a post about Volley and I know it's great networking library. But I couldn't understand one thing. All …

android android-networking android-volley
Android Volley - Checking internet state

Before I am using Volley, well as usual, I used AsyncTask to check my internet state. Here is what I …

java android android-volley
Android Volley POST string in body

I'm trying to use Volley library to communicate with my RESTful API. I have to POST string in the body, …

android asp.net rest asp.net-web-api android-volley
How to send json array as post request in volley?

I am using volley for json parsing. I want to send some data using POST to server side. I am …

android json android-volley jsonobjectrequest