android-volley Questions

2

Solved

I want to try Volley combining with OkHttp but Volley cache system and OkHttp both rely on the HTTP cache as defined in the HTTP specification. So how can be disabled the cache of OkHttp for keepin...
Schaffel asked 4/5, 2015 at 7:42

0

I have been using volley to make HTTPS request to server, and I am getting this error - { what=1 when=-253ms obj=com.android.volley.NoConnectionError: javax.net.ssl.SSLHandshakeException: javax.n...
Vesicatory asked 20/7, 2015 at 11:42

0

I am using Volley for my API call. I need to post a image to my sever. I have tried many MultipartRequest implementation, None works. I just tried using a sample from How to send a “multipart/fo...
Elgar asked 17/7, 2015 at 11:17

3

Solved

I have the following json response { "tag": [ { "listing_count": 5, "listings": [ { "source": "source1", "data": { "image": "image1", "name": "name1" }, "name": "name1" } ] }, { "l...
Script asked 2/7, 2014 at 17:55

3

Solved

This is in connection with this question regarding Volley Image caching. So, now I want to implement DiskLruCache, but I am not sure on how to do this. I downloaded the Jar file from github and ad...
Supporter asked 19/2, 2014 at 5:40

2

I am using Volley library in my android app. It works fine, but I saw that OkHttp provides some more improvements also. I have integrated the OkHttp with Volley using : Volley.newRequestQueue(mCtx...
Coster asked 15/1, 2015 at 9:55

9

Solved

I'm using Volley to interact with an API. I need to send a post request (with parameters) to a service that returns a JSON Array. JsonObjectRequest has a constructor that takes a method and a set ...
Integrand asked 4/8, 2013 at 23:50

0

I am receiving an error for some requests sent by the following code, and I don't know why. private void DeActivateReq(String toolID, String token, String Childid) { String url = "http://54.77.12...
Commitment asked 27/6, 2015 at 3:37

2

Below is a method in which I am trying to retrieve an user object by calling getSelf(). Problem is that the result is always null since the Volley request has not finished at the time of returning ...
Immature asked 16/10, 2013 at 16:44

3

Solved

I need to post JSONObject (using Volley) to a web-service which is returning the response in JSONArray format. Here is what I have tried so far. final JSONObject requestJsonObject = new JSONObj...
Merwin asked 16/6, 2015 at 4:50

1

Solved

So I am making a POST JSonObjectRequest to my server and when it is successful everything works and the info is posted, but if there is an error and I try to display it in a toast, it shows up as b...
Allusion asked 9/6, 2015 at 1:8

2

I am making a rest api call from Android device and was really surprised looking at the difference of speeds when compared to PC. Below is the image from a rest tool on PC. I tried few libraries l...
Lactescent asked 21/5, 2015 at 15:51

1

Solved

In my android app i need to download a file into my SD card and view it through intents, I'm using volley library for all network calls in my application. Ideas.
Putman asked 28/5, 2015 at 6:12

2

Solved

I am posting some data into the database using Volley and I get the following jsonarray response. [ { "nickname":"panikos", "username":"[email protected]", "user_type":"LEADER", "latest_...
Cleotildeclepe asked 22/5, 2015 at 19:4

0

i have been using volley in my app. i have tested my app in version 5.0.2 device it throws exception like.. 05-15 14:56:02.374: E/Volley(23574): [18922] BasicNetwork.performRequest: Unexpected res...
Flagwaving asked 15/5, 2015 at 9:41

1

Solved

I'm trying to use a custom Class that extend the JsonRequest class to send a JSONArrayRequest using POST and a parameter. public class MethodJsonArrayRequest extends JsonRequest<JSONArray> {...
Overgrow asked 24/4, 2015 at 2:45

2

Solved

I'm trying to use Volley to send a DELETE type request to my server and add parameters to the request. So far I haven't been able to do so. Creating a custom request and overriding the getParams()...
Loidaloin asked 2/4, 2014 at 6:59

3

Solved

How to upload a bitmap image to server using android volley library ?I am trying to use android volley to upload images to server . If there is no such option in android volley ,can you please sugg...

1

Solved

I have a custom volley request, but it didn't take my params when sending request, what's wrong with my code? I set a breakpoint at getParams and getPostParams, but none of them went through. I us...
Apathetic asked 21/4, 2015 at 2:6

3

Solved

i must do i request with Volley Framework. This is a POST request with JSONObject. I must pass one string and one JSONArray..but how i can? I start with this: private String mUrl; private Arra...
Additive asked 21/4, 2015 at 17:40

1

Solved

I have been using volley for making rest calls to server. I am trying to send the response time for each requests to Google analytic to analyze the server latency, in volley jsonobject request is t...
Chaunce asked 1/4, 2015 at 8:35

1

With Google Cloud Endpoints, you still need to manage async tasks, parallel network requests, compatibility on Froyo, etc. Is there any way to use Volley with Cloud Endpoints requests?

2

I am using Volley library in Application. in onresponse listener i need InputStream as response how do i get it ?
Annelid asked 12/8, 2014 at 7:17

1

everybody. I'm implementing an account authenticator using AbstractAccountAuthenticator and I need call an asynchronous method in the function getAuthToken, to authenticate a user. My code is li...
Tailback asked 1/10, 2014 at 12:45

3

I want to make synchronous request using volley library and I used the following code : RequestFuture<Long> future = RequestFuture.newFuture(); AuthenticatedJsonRequest request = new Auth...
Hallah asked 19/1, 2014 at 22:11

© 2022 - 2024 — McMap. All rights reserved.