Questions tagged as 'android-volley'

0
answers

Error using Volley on Android 6

When making a request using volley in Android 6 gives this error: java.net.ProtocolException: Unexpected status line: <?xml version="1.0" encoding="UTF-8"?> But if I try it in Android 7 works perfectly. I am using...
asked by 07.04.2018 / 00:35
0
answers

because when I login to a page sending your respective username and password using Android Volley the session expires?

I am developing an app for my university, when I send the request to the server with its respective user and true passwords I get an Authenticated Data.htm response (That means that I can log in) but when I want to see my other data such as my K...
asked by 02.04.2018 / 23:36
0
answers

Android Studio gives error when connecting with API in PHP using Volley

I am using volley to make a POST request in HTTP to an API in PHP that I created. This API will insert in a database the value it receives. Your code is as follows: //datos para la conexión $usuario = "******"; $password = "******"; $servidor...
asked by 07.03.2018 / 12:17
0
answers

How can I avoid that when I call a fragment, it is not recreated, but it shows the data I had from the beginning?

I am doing a project in Android Studio, I require that, in a navigation drawer, when selecting a fragment that had already been loaded and emptied information in it (it is the first fragment that appears, in the onCreate event), the task to recr...
asked by 05.03.2018 / 02:13
0
answers

Update data in BD and show it again in recyclerview

Greetings this is my first post and the problem I have is that I am making an application in which I store images in webservice and as a response I get a array with the names of the images that were stored, this process and update...
asked by 20.12.2017 / 20:18
1
answer

By 2 php queries can I invoke services (json) from android?

I hope you can support me with this question: how to call from android 2 queries (select) in php that show the data in the app. The php code is: ?php $idequivalente = $_REQUEST['idequivalente2']; $idUsuario2 = $_REQUEST['idUsuario2'];...
asked by 13.10.2017 / 03:02
0
answers

How to verify server response?

I am developing an android app, the server responds to me by creating a json from php, but now it takes time to generate the text and until then the AsycnAsk already receives me as a null error. How can I do to control that? This is the fu...
asked by 29.09.2017 / 17:09
0
answers

recreation image volley imageloader

imageLoader = new ImageLoader(requestQueue, new ImageLoader.ImageCache() { int cacheSize = 4 * 1024 * 1024; // 4 MegaBytes LruCache<String, Bitmap> lruCache = new LruCache<String, Bitmap>(cacheSize); @Overr...
asked by 13.08.2017 / 20:18
1
answer

Securely send data from Sqlite to Mysql

I am doing a synchronization of information that is stored in the database Sqlite my problem esque is a field application that is to say it will work with mobile data, but I have problem that the sending of information is not executed cor...
asked by 30.03.2017 / 19:41
1
answer

PATCH request with Volley does not work

I tried to update the data of my server with Volley by means of the PATCH method sending the data in a body, the form is the following: String url = getString(R.string.ws_base) + getString(R.string.ws_ip) + getString(R.string.ws_servicios);...
asked by 29.10.2016 / 00:07