Questions tagged as 'android'

1
answer

Send an ArrayList of objects to an Activity

How to send an ArrayList of objects to an activity on Android? ex: I have an ArrayList of Books objects, I want when I click the button this array of objects are passed to another activity ..     
asked by 30.07.2014 / 23:52
3
answers

How to put an animated GIF in an APP on Android?

Well, I've been having this problem for some time, I tried to solve using StackOverflow answers but I did not succeed. I need to put an animated GIF image in my activity but ImageView does not play a .gif image, it just shows it as an image w...
asked by 24.09.2015 / 19:39
2
answers

Where to create the assets folder in an android project?

Where should the assets folder be created? I want to use it to store my fonts.     
asked by 12.02.2015 / 19:58
2
answers

How to back up the database to the cloud and how to have data synchronized across multiple devices?

Good people, my doubt is as follows. I have an App that has a local sqlite database. I want to know if you have any library, framework, code that does the following: Backup this database to Cloud (Own server or Google if it has some implem...
asked by 01.10.2015 / 22:08
3
answers

consuming JSON

I'm having trouble getting a JSON file from the internet. I have some data in this link link and I want to get it to use in my application, the link returns something like: { "Categorias":[ { "nome":"Black", des...
asked by 16.12.2014 / 18:42
2
answers

Facebook SDK Command Android - Key Hash

I'm doing the Facebook SDK tutorial for Android and I do not understand this part, which talks about hashes of key to development environments. Command: keytool -exportcert -alias androiddebugkey -keystore %HOMEPATH%\....
asked by 22.06.2016 / 22:33
2
answers

Send notification message to application

I'm developing an APP and need to send warnings to users using this APP. Example, in APPs of shopping sites, when a promotion appears a message arrives the Application about the promotion. The user reads and the message goes out. How can I do...
asked by 17.06.2016 / 21:44
3
answers

Error with "Method"

I'm trying to run a button and it accuses the following error:    java.lang.IllegalStateException: Could not find method java.view.Tools   (call_disconnect) (View) in a parent or ancestor Context for   android: onClick attribute defined on vi...
asked by 14.12.2016 / 16:32
2
answers

How to change the color of StatusBar?

How do I change the color of this part of the app? I wanted everything from the same green color like this one down.     
asked by 07.07.2017 / 14:47
2
answers

Java conversion to Kotlin

One of the qualities mentioned in the Kotlin language is the creation of clean code, that is, code that is pleasant to read and can accomplish its purpose without curling. From what I've seen, Android Studio contains a translation for Kotlin,...
asked by 01.08.2017 / 20:59