Questions tagged as 'android-studio'

2
answers

How to create a new project in android studio?

They will think the question is silly but it is not, install android studio version 2.2 I have the jdk 1.8 installed, I have never used android studio so it is installed and configured by default, when I start I give the path of my SDK , after t...
asked by 08.06.2016 / 01:36
1
answer

indexoutofboundsexception index 0 size 0

I have a code that has to return the coordinates and the address of the coordinates of my device and the place I select on the map, the application gives me the coordinates of my rounded device, but it does not return the address, instead that's...
asked by 12.09.2018 / 09:29
1
answer

Error: minSDK (API27) deviceSDK (API23)

Hi, I'm using version 3 of Android Studio, I had a lot of problems but I could make a program work, now I'm creating another one, but I get this error: minSDK (API27) > deviceSDK (API23) the weird thing is that I changed the values several ti...
asked by 13.09.2018 / 01:04
1
answer

Obtain absolute path of a txt file

I need to get the absolute path in Android of a .txt file after a chooser file I have this Code: private String myPath; Uri datos; private static final int COD_SELECCIONA_TXTART = 10; public void elegirArchivo(View vista){ Intent int...
asked by 26.09.2018 / 15:40
0
answers

error in recyclerVIew (Collections.reverse)

I have a serious problem making an app. I wanted to make a notepad, I add the notes but I wanted the order of the entry of notes to be the other way around, that is, the last note was the one that was shown first, as it was in a ArrayList...
asked by 28.09.2018 / 08:26
1
answer

How can I get the selected data from an expandable list, and then load the children?

I'm making an expandable list, but I do not know how to get the selected item, to check if it has children or not, and can load them from the server. Any ideas on how to implement it. MainActivity ArrayList<String> parent; ArrayList...
asked by 30.08.2018 / 15:51
2
answers

Android Studio problems when sharing mp3

This is my code: peroperoperopero.setOnLongClickListener(new View.OnLongClickListener() { @Override public boolean onLongClick(View v) { Intent compartirAudio = new Intent(android.content.Intent.ACTION_SEND); co...
asked by 05.10.2018 / 07:32
2
answers

Android LocationManager using getLastKnownLocation () value is not obtained

I make this query, even before it worked and I think (at least I think) have not deleted anything but I stop working. Can not find the location of the device to store latitude and longitude. The permissions in the Manifesto are, I'm telling y...
asked by 01.08.2018 / 16:54
0
answers

How to recycle images

I have declared a couple of images and I draw them with the canvas. My question is what would be the correct way to recycle or delete an image that I am no longer using or do not want to be seen to free memory. Thank you. public class Juego...
asked by 30.07.2018 / 16:31
1
answer

Emulator: emulator: ERROR: x86 emulation currently requires hardware acceleration!

I get this error when running the android emulator, the weird thing is that it is not the typical error that the IDE has to install HAX, because I checked it and I already have it installed, so I do not know why the error keeps coming, ¿? What i...
asked by 15.07.2018 / 00:28