Questions tagged as 'volley'

1
answer

How to get value returned from Get using Volley on android

In the case I want to know how to get only the value of the GET of the link "... / possess_cadastro" to enter the If or Else. public class LoginRequest extends StringRequest { private static final String REGISTER_REQUEST_URL = "http://192.168....
asked by 21.09.2017 / 20:16
1
answer

JSON parsing with android volley

I have this JSON on the server side: [{"idreg":"271896", "code":"USD", "codein":"BRL", "name":"D\u00f3lar Comercial", "high":"3.2652", "pctChange":"-0.939", "open":"0", "bid":"3.2492", "ask":"3.2497"}] I want to use the value of "ask" but I...
asked by 02.01.2017 / 02:48
0
answers

Not returning by returning json [closed]

Well I'm starting in the android area and I still do not know much about it and would like help with the following code: gridView = (GridView) findViewById(R.id.lastedAnimeView); gridView.setAdapter(va); mRequestQueue = Volley.newReque...
asked by 02.11.2018 / 17:33
0
answers

Working Error Volley Android

I'm creating an Android application that sends via Volley some strings. I would like to know how to work the errors, for example, if the server is offline. Follow the code for sending the strings: private void saveNaWeb (final UserObject)...
asked by 20.03.2018 / 21:48
0
answers

Returning server data using Volley - Android [closed]

I have an Android application that makes some requests on the server and also for sending data via web service, using the Volley library. The data sent by the application is received by an API, and when there is confirmation that the d...
asked by 12.07.2017 / 12:46
1
answer

getView is not being called but getCount has items in ListView

I'm having a problem with a ListView that is not loading the values. This is my situation: I have an application that at one point opens a TabBar with 2 Fragments and inside one of these Fragments I have a ListView that I am trying to populat...
asked by 31.03.2017 / 21:00
1
answer

Android Volley Multiples Parallel Requisitions [closed]

I'm developing an application where I have to make multiple volley requests in parallel to populate spinners, and there are two moments when I call this screen. The first time is for a new registration, where all the features are in agreement...
asked by 27.12.2016 / 14:14
0
answers

Gson returning characters with invalid accent

I'm getting information using Gson in a PHP file. When this information is received, words containing accents are not encoded. I already read: Android JSON CharSet UTF-8 problems Converting String to Android JSONObject loses utf -8...
asked by 06.08.2016 / 20:29
1
answer

How to add a view dynamically to android as registered in mysql

I would like to know how to add a view (RelativeLayout) dynamically in my xml, as records are being found in my BD Mysql ... (My connection is made via the Volley lib)     
asked by 12.07.2016 / 02:23
0
answers

Data are not entered from android to mysql using volley [closed]

I made this question from link and the problem that I was having was solved. But I still can not enter data into the database. connection.php <?php $mysql_hostname = "localhost"; $mysql_user = "root"; $mysql_password = ""...
asked by 20.11.2015 / 19:59