android-volley Questions

1

Solved

In my application I need to send multiple volley request in a sequence. I've create a common listener for dealing with the volley response. public interface RequestCallBack { void onSuccess(JSONO...
Puddle asked 21/9, 2016 at 7:14

2

Solved

I use Volley library to connect with server in my app. Now, I have to send request in background every 5 minutes also when app is not running (killed by user). How should I do it? With background s...
Levitical asked 27/8, 2015 at 20:59

1

I'm using volly to retrieve data and its work perfectly, except that my json array is not storing in the cache. Here is my code: private void getCacheValue() { Cache cache = AppController.getIn...
Peon asked 19/8, 2016 at 7:26

2

I want to proxy network traffic for an Android emulator. I can't seem to get it to work. My emulator is booted up using this: emulator @Nexus_5X_API_23 -http-proxy 10.0.1.17:8888 The IP and...
Profession asked 12/8, 2016 at 16:10

1

Solved

I am using paypal SDK in my project,I am able to make payment from my app,but i am not able to get access token after payment, This my onActivityResult @Override protected void onActivityResult...
Initiatory asked 12/8, 2016 at 5:28

0

I have been using volley networking library for some time now. To show the users that their request is being sent, I show them an indeterminate progress bar which I hide either inonResponse or onEr...
Mosley asked 7/8, 2016 at 21:44

7

Solved

public void getTestDats(String unique_id) { final String tag = "testList"; String url = Constants.BASE_URL + "test_module.php"; Map<String, String> params = new HashMap<String, String&g...
Smasher asked 25/7, 2016 at 11:15

1

Solved

I need to get the cookies from server response. For network calling i am using volley library. getRequest(String url, Response.Listener<JSONObject> responseListener, Response.ErrorListener e...
Rog asked 26/7, 2016 at 13:59

2

Solved

I need to use volley to send a request to retrieve a membershipid then pass that membership id into the second volley request to retrieve stats on that member. I have a problem with my first requ...
Bhatt asked 20/10, 2015 at 5:3

1

Solved

My code is working perfectly but when I click on the submit button it shows volley basic network perform request twice and my database table is updated twice. Here is my MainActivity code: import...
Lynn asked 19/6, 2016 at 8:10

0

I have a problem with Volley GET request on slow network. Everytime I see BasicNetwork.logSlowRequests in my LogCat, my GET request is executed twice or more resulting multiple (2 or more) postings...
Germanophile asked 16/6, 2016 at 7:23

4

Solved

I have a ListView displaying things, many of which have an illustrative image and some of which don't. The ViewHolder uses NetworkImageView to display the illustrations. The problem is that even ...
Icky asked 5/2, 2014 at 1:35

2

Solved

I need to show the progress of file download in percentage. Currently I am using Volley library. I use InputStreamVolleyRequest class to make the download request and BufferedOutputStream to read/...
Michaelmas asked 13/6, 2016 at 12:55

3

Solved

Is there a way I could disable the Volley cache management? My app is using Google Volley library to manage the transport layer, but I have my own cache manager implementation because the server do...
Catgut asked 15/8, 2014 at 20:0

0

I am trying to cache data for offline usage without success. Below is my work so far. //fetch news details private void FetchHeadline(){ showDialog(); btnRefresh.setVisibility(View.GONE); //...
Hayleyhayloft asked 10/6, 2016 at 3:15

4

Solved

So I'm using Google Volley for HTTP request, which basically uses Java's HttpURLConnection. According to my tests, the problem is this: When the 'read' timeout on the HttpURLConnection reaches, a ...
Amphiaster asked 23/11, 2014 at 21:29

2

Solved

When i receive an error in onerrorrepsonse of android volley request i want to retry the request. How can i achieve this?
Hydrothorax asked 10/7, 2014 at 12:36

1

I have an Android application with multiple REST Api's. The API's are managed using the Volley library. The response is getting and it's woking fine. But when I make asynchronous requests, I can't ...

3

I am new to Volley Networking Library (of Android). I have observed that the Request function takes URL as the parameter instead of server name and port. Is there any way for making Volley request ...
Bowser asked 28/5, 2014 at 14:27

2

I am trying to get Volley working with Robolectric. I can see that my HTTP request is getting called, and parseNetworkResponse is getting called (I'm sending a custom subclass of JsonRequest), but ...
Planchette asked 29/5, 2013 at 14:27

3

I have this issue where I am following http://www.androidhive.info/2014/08/android-building-free-wallpapers-app-part-2/ and have come to the point where I add a splash screen and am starting the ...
Unscrew asked 20/7, 2015 at 11:56

1

Solved

I've searched all over but haven't found an answer to this. In my Android application, the user can use the app offline, and some events generate http GET requests to my server. I am using Volley, ...
Xenomorphic asked 26/5, 2015 at 17:49

1

Solved

I try to send a DELETE Request using Volley to a REST Api with parameters like X-user-email and X-User-token. I have tried almost everything on Internet but still I am getting a 400 error Message. ...
Colvert asked 12/4, 2016 at 2:9

3

I want to give to my user a much better offline user experience, therefore, I want to build a Service which stores all POST, DELETE, PUT (GET makes no sense because a GET call without network is a ...
Fullblown asked 25/7, 2015 at 15:24

3

Solved

I would need to upload an image from the application, that I'm developing, to the server and I would like to know how I can develop the Multipart Request to load the image using Google Volley. Tha...
Mariquilla asked 3/4, 2015 at 10:39

© 2022 - 2024 — McMap. All rights reserved.