Android volley sending data twice
No need to use connection.setChunkedStreamingMode(0);
to avoid volley sending data twice bug. you need to set retry policy for current request :
JsonObjectRequest jsonObjReq = new JsonObjectRequest(...);
jsonObjReq.setRetryPolicy(new DefaultRetryPolicy(
0,
DefaultRetryPolicy.DEFAULT_MAX_RETRIES,
DefaultRetryPolicy.DEFAULT_BACKOFF_MULT));
Android volley is sending information twice with image upload
Volley uses a RetryPolicy for processing requests which by defaults sends the request up to 3 times with an exponential backoff algorithm. Can it be that some request fail and are retried ? Do you get any error/success logs for the first call of the request ?
Related Topics
Start Android Application Without Activity
Webview Rendering Issue in Android Kitkat
Set Visibility in Menu Programmatically Android
Clear All Activities in a Task
Android Dialog, Keep Dialog Open When Button Is Pressed
How to Use Default Android Drawables
Saving Arraylists in SQLite Databases
Android Support Library Error After Updating to 23.3.0
Httpclient on Android:Nohttpresponseexception Through Umts/3G
How to Finish Activity When Starting Other Activity in Android
Recyclerview Items with Big Empty Space After 23.2.0
How to Set Text of Text View in Another Thread