Questions tagged as 'volley'

1
answer

Error consuming service using volley

I'm developing an app in Android Studio where it consumes a service I created in the Play Framework. This is my route in the service: GET /Services/cadastrarPalheta/{matricula}/{data_instalacao}/{local}/{cod}/{estado}/{bairro}/{rua}/{comple...
asked by 26.12.2017 / 15:24
1
answer

Request application / x-www-form-urlencoded using Volley

Hello, I'm trying to do a web_services integration with a partner, for php everything worked correctly now I want to implement directly on Android using volley however I'm getting authentication error, here is my code below: RequestQueue rq =...
asked by 10.08.2016 / 16:58
1
answer

volley.ParseError - java.lang.String can not be converted

Hello, I'm sending POST to a PHP file using the Volley library. It all happens well until the application tries to show the response to the user. In the PHP file I use the echo 'user_created'; command. The application has the foll...
asked by 04.01.2016 / 07:40
1
answer

How to insert a list of data using the volley

My application writes all position information within the field-based table. This table has a column named "SENT". I have to do a select returning all the positions that were not sent and send to a webserver, after sending and the result is O...
asked by 23.03.2016 / 21:09
1
answer

Upload image from a url to an InfoWindowAdapter

I'm trying to display an image from a URL in an "InfoWindowAdapter", but it's never shown. I'm using the Volley library to upload images. Does anyone have an idea how to solve this problem? //no fragment mapa map.setInfoWindowAdapter(adapt...
asked by 06.01.2015 / 20:03
1
answer

Android - Method with return using thread

Hello everyone, I'm developing an android application that uses the volley library (google) to perform my http requests. I have a method that returns a Boolean and depends on the return of the request, then that is the badness, the method return...
asked by 15.01.2015 / 18:58
0
answers

I / ERROR: com.android.volley.ParseError: org.json.JSONException: Value of type java.lang.String can not be converted to JSONObject

Error: I/ERROR: com.android.volley.ParseError: org.json.JSONException: Value codigo of type java.lang.String cannot be converted to JSONObject My code in Android Studio: @Override public View onCreateView(LayoutInflater inflater,...
asked by 27.08.2018 / 00:03
0
answers

Error optJSONArray

I have this error, following an updated tutorial on the net I came across this error, but it was not supposed to be occurring, the error generated is 2 errors :app:compileDebugJavaWithJavac FAILED FAILURE: Build failed with an exception. * W...
asked by 26.08.2018 / 02:51
1
answer

Android app does not connect to local webservice

I'm studying webservices but I came across a problem, the API works, because I can already enter data in the database, I'm using wamp, but in the app, I follow several steps and it just does not send, always error sending, but not points out mis...
asked by 25.08.2018 / 18:49
0
answers

How to send data, via POST, from android to PHP in a synchronous way?

I need to send data to the database, and I'm using PHP. I was trying through the Ion library, but because it was asynchronous, the application featured NullPointerExceptions when I had more than one data being sent. I tried to implement okHttp,...
asked by 31.07.2018 / 05:21