Questions tagged as 'android-volley'

1
answer

Volley TimeOutError. Android Studio

I happen to be working with volleyball. When I want to fill a Recyclerview it turns out that I see the error described in the title, I was reading and I know that it is because of the response time between the application and server (in this cas...
asked by 18.07.2018 / 02:06
2
answers

Get error returned by the server with Volley

I am making an application in which I consume an external service and for this, I am using the library Volley from Google. I'm trying to process the error with the structure: { "message": "invalid public_key", "error": "not_found", "status":...
asked by 16.10.2017 / 03:50
2
answers

Android VOLLEY send json and receive json in response

Good, what I'm trying to do is send a json from Android with Volley to a php that I have on my server, within the php I make some queries and I need to return another json (response) to work with that data. I clarify that PHP works well with ano...
asked by 11.07.2017 / 18:36
1
answer

How to make me return the variable with the assigned values within a TRY

public Usuario buscar(final Usuario nombreUsuario) { Log.i("Usuario:", nombreUsuario.toString()); final Usuario usuario = new Usuario(); final String url = EstructuraURL.URL_LOGIN; StringRequest stringRequest = new StringReques...
asked by 31.12.2018 / 04:29
0
answers

Simple example of volley on android? [closed]

Does anyone have a simple example of an app using volley in android studio? I have googled a lot but all the tutorials I have tried are error, nullpointerexception, etc, I just want you to return a string of some file in a server or a list to un...
asked by 29.10.2016 / 00:21
2
answers

How to consume a web service that returns a nameless jsonArray

I am working with android, I want to consume a web service that returns a jsonObject from laravel but the jsonobject has no name as I can receive it with the volley library and print it in a list. The route and the json is: http://localhost/S...
asked by 02.05.2018 / 03:19
1
answer

How to know the order in which the columns of a query arrive

I'm doing an app with Android Studio and I'm using the Volley liberty to consume a service. The web service gives me this data. in JSON format, but I would like to know how to do with a cycle to get the name of the columns, } given t...
asked by 17.08.2018 / 23:15
3
answers

Android Volley JsonArrayRequest

The PHP that gives me a list of records through an SQL returns the following PHP $result = $con->query($query); for ($set = array (); $row = $result->fetch_assoc(); $set[] = json_encode($row)); print_r($set); RESULTADO Array ( [0] =>...
asked by 18.07.2017 / 15:28
2
answers

Security certificate in android studio + Volley

I am using the following code to generate a Singleton instance of the Volley class and incorporate a security certificate, the problem is that now I need to attach another certificate and I have no idea where to do it. public class VolleySingl...
asked by 07.12.2018 / 13:39
1
answer

Problem with VOLLEY accents

private class DescargarNoticias extends AsyncTask<Void, Void, Void> { public void onPreExecute() { } public void onPostExecute(Void unused) { } @Override protected Void doInBackground(Vo...
asked by 11.01.2018 / 08:44