Questions tagged as 'android-studio'

1
answer

How can I compare the drawables?

I like to compare the drawable of an ImageView and a Button, I'm doing a kind of lottery but I do not know how to send the message that I complete the table, the imageview places them in a viewfliper, I hope you can help me: D Code xml:...
asked by 20.11.2017 / 02:14
1
answer

Operation of removeViewAt and addView

I'm trying to replace a button / object, I have it inside a LinearLayout. Then I use those methods to eliminate the one that is and add in the position that the other was the new one, but do what I want or change in the endings (it's a 3x3 of bu...
asked by 18.11.2017 / 19:54
1
answer

List two Arrays in the same ListView

Good, this is going to be something extensive but here goes, my problem is the following. I have two arrays that send an Activity to another via Intent . In the next activity I receive them as Strings, they can also be empty "[]", then I c...
asked by 18.11.2017 / 17:15
0
answers

Android Studio Error: Emulator: EFER = 0000000000000000

When I start my emulator I get this type of error. Then I have to manually close with the task manager both the emulator and the Android Studio application. If I restart 2 or 3 times at the end it ends up starting the application, but the...
asked by 28.11.2017 / 10:45
0
answers

Android - Show Current Date in my Android Studio Activity and send it to SQLite

Greetings friends how are you, I would like to see if you can help me with this detail for my class I have my activity ready and I am creating my java class to show the date and time and also enter a data of an event Code below...
asked by 28.11.2017 / 08:14
0
answers

RestoreInstanceState Android Fragments

I'm making an app where the camera can be used. The thing is that I found a tutorial, but use Activity and I'm using fragments. The point is that everything works perfectly, but I realized that the onRestoreInstanceState method does not have the...
asked by 13.11.2017 / 20:07
1
answer

Problem with spinner in android studio

I have an application which loads from a database made with php / mysql a list of genres (musical and cinematographic) and loads them to a spinner, the problem is that it loads the elements wrong, the default background is white , but now also t...
asked by 11.11.2017 / 22:36
0
answers

Login button Google Android Studio

Good evening, I am using the google login button for android studio but I get the following error and I can not find the solution who can help me a thousand thanks!     
asked by 09.11.2017 / 02:38
0
answers

Problem with the greenDAO jar plugin

I am getting this message from android studio when trying to insert the greendao plugin from the disk "Fail to load plugin descriptor from file greendao-gradle-plugin-3.2.2.jar", I investigated about the error and found that it missing the plugi...
asked by 09.11.2017 / 01:29
0
answers

Adapter in Java. Recycler and CardView

holder.image.setImageResource (ListObject.get (position) .getImagen ()); This is the code. And he gives me error and the error message is. SetImageResource (int). in ImageView can not kisses applied. to (java.lang.String) ( link ) This...
asked by 08.11.2017 / 01:57