Questions tagged as 'volley'

0
answers

Post Method returns response code 400 on Android with Volley Singleton

I've created two custom classes according to what my teacher instructed to do the request on the server, but I'm getting a 400 return and I can not figure out the reason. Searching, I saw that it may be something related to the header, but I do...
asked by 24.06.2018 / 02:39
0
answers

Request Android, Currency Converter Updated

I'm new to android, I want to know how do I extract a url to have an always updated response to the application. If someone helps me wrap the code I thank Code: import android.support.v7.app.AppCompatActivity; import android.os.Bundle; impo...
asked by 26.04.2018 / 18:30
1
answer

Return data obtained from OnResponse

How do I return this String reponse? If I give the return there it does not accept ... and if and by at the end of the method and using an auxiliary variable it risks returning null. public String getData(){ StringRequest request = new Str...
asked by 20.10.2016 / 01:41
0
answers

Check changes to JSON data using Volley

I have an application that after scanning a qrCode displays the item information of an API. But it has a value that changes every second in this API. I want to know how I can display this value whenever I change the screen without having to scan...
asked by 13.04.2018 / 19:35
0
answers

Slider problem with jsonArrayRequest Vollay Attempt to invoke virtual method

I'm building an app and it contains a slider to display items, but I'm having trouble getting this item and adding it to a in>. I can bring the item (image), but only in the android studio logcat, please, if anyone can help me I'm in nee...
asked by 19.01.2018 / 15:46
0
answers

ignore error 404 in volley

I'm working with the volley in android studio and I have to make a request from the server that returns me a json and a status of server 404 In the browser or postman, the json data is received successfully, but in android, the volley gives m...
asked by 24.01.2018 / 18:59
1
answer

Android Volley, retrieve response from server

Hello, I'm using the Volley for Android to connect to my Webservice, however I'd like to display the status-independent server response that returns HTTP through the webservice. explaining better: When I call the webservice and the response c...
asked by 27.12.2017 / 23:35
1
answer

How to pass parameters in a request with Volley

Gentlemen, I created a custom class for the Volley Requisition, knowing that this form is possible to send parameters, but I see that this is not what happens, what could be wrong then? The code is nothing different from what we found on the...
asked by 16.08.2017 / 16:57
2
answers

Automatically update data obtained from api json - Volley

Hello everyone, I have an application that uses a volley to get a given json data, so it works fine but the problem is the volley cache that does not reset until the application is completely closed, for example while the cell is not shut down o...
asked by 23.01.2017 / 20:59
1
answer

Error: JSONException: End of input at character 0, when sending information from Android to a PHP WebService

I'm sending information from Android to a PHP WebService through the Volley lib. Everything works perfectly except with special characters. Map<String, String> params = new HashMap<String, String>(); params.put("nome", "áàâãõóòúç")...
asked by 25.01.2016 / 07:45