android-volley Questions

1

Using following code to upload image on server - final InputStream fileInputStream = MyApplication.getInstance().getContentResolver().openInputStream(imageFile); bitmap = BitmapFactory.decodeStre...
Lemieux asked 6/8, 2017 at 11:0

1

I am starting my question by mentioning what I have tried so far: I do not have certificate in my app, I am using SHA256 key only, Most of the answer on internet requires physical certificate in a...

2

Solved

I'm trying to post my data using Volley but my i'm not able to upload my image on server. Always getting error like unexpected response code 500 for http:\\www.mybaseurl.com/upload.php. Following ...
Convenance asked 26/9, 2016 at 13:3

4

Solved

public class CustomRequest extends JsonObjectRequest { public CustomRequest(String url, JSONObject params, Listener<JSONObject> listener, ErrorListener errorListener) throws JSONException...
Halleyhalli asked 27/5, 2013 at 22:18

6

Solved

As we have known that Apache HTTP Client removed in API 23 Apache HTTP Client Removal However, Volley library currently still uses Apache's library such as import org.apache.http.Header; import ...

5

Solved

I am trying to use volley in my project to handle all my HTTP request since it's the most efficient one as far as I know. So I started to learn volley by following this AndroidHive tutorial. My fi...
Electrodynamic asked 20/9, 2014 at 11:17

2

Solved

I have always read that data comes from server in json format also when we want to send some data we send to the server in json format so data travels in json format then where string request comes...
Serenity asked 7/8, 2017 at 9:26

2

Solved

I need to refresh the list view with new data. This code below is used to obtain data in OnCreateView that is in FragmentActivity at the first time. override fun onCreateView(inflater: LayoutInfla...

2

Solved

I decided to give Volley a try, so presently I have a lot of REST callouts to be done, so I usually create a RequestHandler and a ResponseHandler class which as their names suggest handle requests ...
Subtropics asked 26/12, 2013 at 15:19

2

Solved

friends. I have a problem with my volley POST request with parameters. I need fetch the data from my remote MySQL DB and display it in recycler view. For this, I have using volley network request. ...
Sobersided asked 14/7, 2017 at 14:57

19

Solved

I have few questions around using Volley in my projects: Can this library be used in any Java project or just Android? I see multiple branches here and no documentation on which branch is to star...
Garner asked 20/5, 2013 at 22:54

3

Solved

So, i have this code to make a POST request with volley: public class MainActivity extends AppCompatActivity { Button btnSearch; ProgressDialog loadingDialog; ListView lvResult; String sessio...
Christmastide asked 30/5, 2017 at 23:57

4

I'm experiencing a problem when using the RequestFuture class of volley. Actually it just stops at wait(0); inside the doGet() Function in the RequestFuture class below and is never getting woken u...
Two asked 9/9, 2013 at 14:4

3

Solved

I am new in Java. I want to send post json data to webserver. My Volley post is given below. public void postData(String url,JSONObject data,final VolleyCallback mResultCallback){ RequestQueue re...
Emotionalize asked 24/6, 2017 at 4:18

2

I have a RecyclerView to display list data but after Scrolling up and down, a image load from url using Volley disappear and appear again. I know that the list will recycle item after read this How...
Hautbois asked 24/4, 2016 at 4:17

1

Solved

No errors showing but when the button is clicked, it always goes to callback the failure method.Internet is active and the keys are valid. I used debugger to see the following result:- E/Twitter: ...
Deannadeanne asked 13/12, 2016 at 12:18

3

I aim to call Volley from another class in, a very succinct, modular way ie: VolleyListener newListener = new VolleyListener(); VolleySingleton.getsInstance().somePostRequestReturningString(getA...
Tyr asked 5/11, 2015 at 2:4

2

Solved

I'm trying to create and use a cache for a server JSON response. For example: cache JSON objects to internal memory and use that when we don't have an internet connection. In the following sam...
Bueschel asked 8/8, 2015 at 18:28

6

Solved

I am trying to do a JSONObject request: final String URL = "https://some/url"; // Post params to be sent to the server HashMap<String, String> params = new HashMap<String, String>();...
Pelisse asked 3/1, 2016 at 15:23

4

Solved

I try to use GET on Volley , but i need send request to application/json . I take a look for some answers , i try to use jsonBody , but it shows error: null com.android.volley.ServerError Her...
Lightweight asked 19/4, 2017 at 3:50

2

Solved

In my Fragment, i am trying to use TMDB's open movie DB to get details about "Now Playing" Movies. If i use RequestFuture.get(time, TimeUnit) method to execute this volley request i always get a t...
Pickering asked 30/5, 2015 at 17:33

2

Solved

I have a Django script running on the server that creates session variables for every request sent to the server. The script returns a specific value based on the previous stored session variables....
Outworn asked 27/3, 2017 at 0:41

1

I want to download a zip file using a get call through volley. For now I am able to download a file using : Download and Extract Zip File in Android. I want to use volley library instead. How can...
Grandpapa asked 28/4, 2015 at 15:4

3

Solved

I'm getting the following error when I run the app: BasicNetwork.performRequest: Unexpected response code 401 I need to pass an email, a password and a token to access the URL, but it's not workin...
Epiphyte asked 18/6, 2014 at 12:24

3

i try volley library in my android application this is my log 10-31 14:30:09.277: E/AndroidRuntime(22916): java.lang.NullPointerException 10-31 14:30:09.277: E/AndroidRuntime(22916): at com.mypa...
Aguiar asked 31/10, 2013 at 7:47

© 2022 - 2024 — McMap. All rights reserved.