Questions tagged as 'retrofit'

1
answer

retrofit 2 error malformed when sending a post

When I send the data via POST, I return that JSON is in formation error. Follows the% w / w of the Button btnretrofit =(Button)findViewById(R.id.btnretofit); btnretrofit.setOnClickListener(new View.OnClickListener() { @Override...
asked by 20.05.2017 / 20:01
1
answer

404 when trying to access url post with springboot

Good evening, I have the code below with the implementation of a service rest / test123, and when calling this method from the angular-js code, already authenticated with the basic spring-boot authentication I have access to this service. When I...
asked by 25.09.2016 / 01:14
0
answers

How do I know when the SQLite query is finished?

In my app I have a synchronization method, this method downloads multiple entries from my webservice and inserts them into the local SQLite database through a for loop. I need to know when the SQLite insert is finished so I can display a window...
asked by 13.01.2016 / 18:46
2
answers

Help to get response values on Android with Retrofit

I'm trying to use Retrofit to consume a feature but at the time of using the values I'm doing something wrong because nothing appears. Excerpt in the search: final TextView codigoCliente = findViewById(R.id.codigo_cliente); final T...
asked by 21.12.2018 / 13:18
1
answer

Download photo URL without file name

I use to download files and photos from Glide or Retrofit but have never come across the need I'm having right now. The url is type link the number is the user id and qrcode is where the qrcode image file is generated by the server, when I...
asked by 25.09.2018 / 22:41
1
answer

Login with retrofit android

Hi, I have a question and they did not know how to help me, I have a webservice that is doing a get that when entered the user name it will allow its access to the application and so will pass the user to the next screen. This is the code...
asked by 06.09.2017 / 15:50