Questions tagged as 'android'

2
answers

How to make a list from a request GET in Retrofit 2? [closed]

My question is how do I get the JSON of the request and put it in an ArrayList so that I can inflate the RecyclerView. Thanks in advance.     
asked by 12.12.2017 / 05:17
1
answer

Disable selected date in DatePickerDialog

Hello, guys, how are you? I wonder if it is possible, via the DatePickerDialog, to disable dates that users have chosen? Type, users choose a date in the datepicker that can no longer appear to other users, such as in hairdressing salons, which...
asked by 21.12.2017 / 18:49
1
answer

Error saving JPEG image to bank as string (base64)

I'm developing an application that has a form where the user can attach a photo next to the form. But I'm having trouble implementing this. In my APK I have already captured the image, converted to base 64 and sent via Rest to my service. publ...
asked by 05.01.2018 / 14:58
1
answer

I am creating a game, how to implement a pause menu?

I am creating a game in Android studio using the SurfaceView class that is instantiated in MainActivity and a thread that is instantiated in SurfaceView, the problem is when I turn the screen on and it goes back to the initial state, ie it does...
asked by 05.01.2018 / 18:11
1
answer

How do I allocate more memory in the app execution?

I'm developing an android Currently, when I run the APP, it starts by reserving 36.62 MB of memory. I would like it to start at the top of 50.00 MB or, when it reaches its limit, add more memory. Is there any way to set the i...
asked by 20.02.2018 / 20:58
1
answer

Hashmap overwrites values

I'm trying to generate a hashmap (String, List Exercises) from a json: [ { "grupo":"Joelho", "nome":"joelho_1", "habilitar":"1" }, { "grupo":"Joelho", "nome":"joelho_2", "habilitar":"1" }, {...
asked by 02.12.2017 / 22:29
2
answers

Email and password in Android Studio application does not register in Firebase

I do not see any type of error when I click to register the button, I have already put all types of password sizes and I have put up my own valid email only that does not register in firebase authentication. private void Cadastrar() { nom...
asked by 15.12.2017 / 18:21
1
answer

Donwgrade API 23 to 21

I have an app already posted on Google play that was designed in API 23. But now a problem has arisen as there are some customers using Android 5.0. My app is simple and does not use any more advanced smartphone features. Can I downgrade o...
asked by 18.12.2017 / 13:20
1
answer

How to create an automatic click (touch) on the Android screen?

I'm a beginner and I'm trying to make a game and I want to automatically, during the execution of the app, click on a specific area of the screen as if the user had done it. 1 - Can I simulate this click / tap automatically without a real use...
asked by 12.01.2018 / 20:04
1
answer

How to call a new Activity through a conditional structure that tests the connection?

I'm making a WebView app. It's quite simple: I test the connection truth case loads the site; false case loads another activity (other than main). While there is a connection, the app works fine loading the site. But when there is no connecti...
asked by 11.01.2018 / 23:12