Questions tagged as 'android-studio'

2
answers

How to clean a field from a textView?

Hello in the code I am using a EditText and several TextView , the point is that I am trying that when the value of EditText this empty clean the fields of TextView . That is the code with which I am trying it Text...
asked by 22.04.2017 / 02:14
2
answers

Button to execute an action while pressing it for a long time

Dear I need a button while pressed to execute an action X example While I press to increase a counter and when I stop pressing, I'll stop     
asked by 23.04.2017 / 20:20
1
answer

Open activity from notification created by second application

I have two applications on android one of which generates a notification in the notification bar when an X event occurs, it could be a query to a database, when connecting the device to the current, etc. I would like to know if there is a way...
asked by 30.08.2016 / 21:33
1
answer

Problem when selecting API

I have a problem when I select API 23 6.0. It tells me the following error This version of the rendering library is more recent than your version of Android Studio. Please update Android Studio. org.jetbrains.android.uipreview.RenderingExcepti...
asked by 03.04.2016 / 06:34
1
answer

Error: Unable to obtain debug bridge (android studio)

After downloading and executing the Android Studio bundle (for Linux) I get the following error after launching RUN(Mayus+F10) :    Unable to obtain debug bridge Android Studio 1.5.1     
asked by 08.01.2016 / 22:33
2
answers

Variable accessible from the whole app

Is there any way to have a variable and that it can be accessible from the whole app? Not only from the activity that I am in.     
asked by 11.12.2018 / 18:45
1
answer

Error in a List

Family my app closes when it reaches the 2 line of code: private MyDataBase dataBase = new MyDataBase(context); private List<Nota> itemsImportantes =dataBase.getAllDataImportantes(); The LogCat tells me NullPointExeption on that...
asked by 23.11.2018 / 04:07
1
answer

Can you delete a project that is uploaded to the play store, and replace it with another one with the same package name? [duplicate]

classmates, I have a small question. I have an application in the store play store, but due to the new update of android studio I came up with the idea of doing another project with the same name of the package and the same keyStore to see if...
asked by 07.10.2018 / 17:49
2
answers

In which cases the IMEI of a mobile device is not available?

I have an application that needs to download data, for that the IMEI of the device has been previously registered in the base, the problem has worked well, now that I use a device with API 27 the IMEI returns it to me null. public String getI...
asked by 31.08.2018 / 01:04
2
answers

problem when running apk on cell phone

You see then I have the following code and I just started on this android, well I have a problem running the app on my cell phone (it says that it has closed unexpectedly), which I can not find the error because in the emulator of my laptop runs...
asked by 25.05.2017 / 06:31