android-volley Questions

5

Solved

I know Volley is supposed to make downloading and caching images mindlessly simple but yet I have been struggling for hours to properly implement it. I've looked around the net as well as the many ...
Lynda asked 28/7, 2014 at 3:47

3

Solved

I am using NetworkImageView to show some covers downloaded from a remote URL and I successfully manage to cache and show them, but I want to let users set their own cover images if they want. I tri...
Phyllis asked 17/3, 2014 at 20:32

2

I am trying to make a Gson request using android volley. Currently it it working correctly and I am very happy. However why I try and get a List<> or a collection of objects my code no longer wo...
Pehlevi asked 28/10, 2014 at 19:13

6

Solved

Im using volley library in my project. I usually let the NetworkImageView download images using setImageUrl method: networkImageView.setImageUrl(imageUrl, mImageLoader) This works fine, But.. W...
Laky asked 21/1, 2014 at 22:12

2

Solved

I am creating a new android app, I have nearly completed the first screen. However, as soon as I reach the bottom of the screen, instead of loading new data, the app throws me right to the beginnin...

2

Solved

I am using JSONRequest from volley library, in background as Asynctask() ... public class DataTask extends AsyncTask<String, Void, Void> { public static ProgressDialog pd; ... public Da...
Yasmineyasu asked 5/9, 2016 at 14:35

3

Solved

I'm looking through examples and code but I don't see anything implemented. Is this possible at this stage?
Bacchius asked 29/5, 2013 at 15:26

3

Solved

Sometimes randomly Volley crashes my app upon startup, it crashes in the application class and a user would not be able to open the app again until they go into settings and clear app data java.la...
Amortize asked 7/6, 2014 at 9:46

1

I tried to look for some answers for me here, but I just fail to find anything that solves my problem. In project I am working on we are going to change our domain. Change is bit tricky - we have ...
Octosyllabic asked 9/2, 2017 at 13:19

1

I am trying to post login parameters to my server using Volley in Android.For first time login it send params, but after i logout and try to login again, it won't call getparams, instead it sends t...
Supertax asked 5/1, 2017 at 14:22

2

Hi I'd like to modularize the volley requests so I don't mix activity presentation code with volley requests. All samples I saw, the volley request are being placed -for example- on the OnClick eve...
Lyrate asked 27/1, 2015 at 14:10

5

Solved

When doing a volley request (either StringRequest or JsonObjectRequest), using the OkHttp stack, the response string's encoding is set to ISO-8995-1, which is the default encoding. The response has...
Loring asked 9/10, 2013 at 9:10

3

I'm working on an Android project that uses Volley for async requests and imagecaching. Somehow a request is hitting the server twice even when I have the retry policy set to 0. I tried overriding ...
Dressel asked 8/10, 2014 at 19:32

4

Solved

I am using volley library and getting response in XML.I want to know how we can parse response using /volley library.Thank you.
Weltanschauung asked 31/7, 2013 at 6:12

9

Solved

Has anyone been able to accomplish sending a multipart/form-data POST in Android with Volley yet? I have had no success trying to upload an image/png using a POST request to our server and am curio...
Saturated asked 28/5, 2013 at 16:53

2

Solved

com.android.volley.NoConnectionError: java.net.ProtocolException: Unknown method 'PATCH'; must be one of [OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE] StringRequest putRequest = new StringRequest...
Benzoin asked 4/2, 2015 at 5:33

3

Solved

I'm on Android Studio version 1.4. I'm using the Android Volley library (I use the mcxiaoke mirror here). But the ImageRequest is deprecated. The code still works but deprecated. Has anyone found a...
Cineaste asked 22/10, 2015 at 1:12

5

Solved

This is my .gradle file: apply plugin: 'com.android.application' android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { applicationId "com.test.test" minSdkVersion 15 ta...
Sfumato asked 27/3, 2015 at 8:56

5

I am trying to work with some legacy code and have come up against an issue when using volley. I am trying to get to an api that our main site has and it works fine for one account, but not anoth...
Transceiver asked 16/12, 2013 at 17:12

3

Solved

How to pass these parameter into POST method using Volley library. API link: http://api.wego.com/flights/api/k/2/searches?api_key=12345&ts_code=123 Screenshot of JSON structure I tried this ...
Irenairene asked 17/10, 2016 at 5:40

3

Solved

I'm trying to use Volley library to communicate with my RESTful API. I have to POST string in the body, when I'm asking for the bearer Token. String should look like this: grant_type=password&...
Proviso asked 27/2, 2014 at 1:10

4

How to make a JSON request in volley where I need to send an authentification header and JSON object in body and I expect only an status code 200 answer JsonObjectRequest request = new JsonObjectR...
Livy asked 19/11, 2013 at 15:34

3

After reading this article, I started thinking about memory leaks with Volley. Usually, the listeners implemented with Volley have either an implicit or explicit reference to the outer class (the a...
Rockies asked 28/10, 2014 at 1:44

1

Solved

This is the Post Request done using postman The response I want to get is : { "result": "success", "reason": { "first_name": "aswath", "last_name": "AsH", "email": "[email protected...
Sitnik asked 27/9, 2016 at 6:45

1

I'd like to see an Android java example of how to sequence a chain of async (= nonblocking) RESTful Volley requests. Is this what RxAndroid is used for? If so, I'd like to see the example using ...
Headphone asked 15/9, 2016 at 23:53

© 2022 - 2024 — McMap. All rights reserved.