Questions tagged as 'android'

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 07.06.2016 / 23:36
2
answers

Doubt about the constants of animations in Android?

Use those constants in an object Go ahead and set the duration (short, medium or long) int final static config_shortAnimTime=200; int final static config_mediumAnimTime=400; int final static config_longAnimTime=500; Is there any way to get...
asked by 29.05.2016 / 08:51
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 / 07: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 12.09.2018 / 23: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 / 13: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 / 06:26
0
answers

Image above RelativeLayout

I want to place the image (the star) above the RelativeLayout and centered horizontally. Example of how it should look: Example of how I have it right now: Code: <?xml version="1.0" encoding="utf-8"?> &l...
asked by 24.09.2018 / 19:55
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 / 13:51
1
answer

Sqlite in Unity for Android

I am developing a .APK in Unity, where I have a BD in SQLite . When doing tests within the Unity environment everything works perfectly, but when exporting it to .APK and testing it on my phone, after executing 2 queries in a row...
asked by 31.08.2018 / 10:51
1
answer

Insert flag in listview Android

I have a listview which is filled with Arrayadapater custom with data I get from my SQLite bd. The detail is that I need to insert a flag or an identifier in every detail of listview that shows me for example the listview...
asked by 19.07.2016 / 17:09