Questions tagged as 'android-studio'

1
answer

How do I uninstall an app automatically before installing again?

I'm using Android Studio to test and debug my application with% s of% s, but the application does not overlap properly, so I need to remove it before installing it. I tested it with library and :app:uninstallDebug as described...
asked by 26.08.2016 / 22:37
1
answer

Can not update my app on google play?

I know that it is necessary to change the version number, but when I make the change and try to generate an apk it gives an error and shows me a message ... Error: XML version "2.0" not supported; only XML 1.0 is supported.     
asked by 22.02.2015 / 02:52
3
answers

Screen Inheritance - Android

Wanted creates a base (Activity) screen for the android app I'm developing so all other screens inherit from this base. Therefore, the screen would have an area reserved for the top of the page, a central region where the content will be variabl...
asked by 23.02.2015 / 12:29
2
answers

Where to find the path of the android database?

SQLiteDatabase BancoDados = null; String NomeBanco = "Cadastro"; CriaBanco(); public void CriaBanco(){ try{ BancoDados = openOrCreateDatabase(NomeBanco, MODE_WORLD_READABLE, null); String SQL = "CREAT...
asked by 29.06.2015 / 20:56
2
answers

How to permanently remove a project in Android Studio?

I would definitely remove an Android Studio project, I realize that on the home page below, if I have a project selected and hit Delete, the project is removed from the list, but I still find it in my projects folder. I wonder if there is a more...
asked by 02.09.2015 / 16:17
1
answer

Project import encoding problem for Android Studio

Imported a project via SVN in Android Studio. Previously, the project was in Eclipse and whoever handled the project ended up committing files as .classpath . From there I started to have an encoding problem that, regardless of what I d...
asked by 19.05.2015 / 18:36
2
answers

Compile and execute project via command line

I have an Android application developed in Eclipse. I know I can compile and run a project from the console , however I do not know how to do this. The basic steps for compiling a program JAVA is to save with the same class name follo...
asked by 16.09.2016 / 21:27
2
answers

Best practices in the interaction between Activities

I'm developing an application just to validate the interaction between activities and intents . I created 5 ImageButton with an image for each. Each button represents a movie and if the user clicks on one of them, it is di...
asked by 20.10.2015 / 15:09
1
answer

How to indent the code in Android Studio?

How do I indent my XML and JAVA code in Android Studio? I would also like to know how to increase the source code.     
asked by 04.02.2015 / 23:46
1
answer

Android studio generating two applications the same way

I developed an apk, but from the end of the project to here he was always emulating two identical applications on my cell phone, same functions, icons. The difference from one to the other is that one has the splash and the other does not. Then...
asked by 30.05.2016 / 17:20