Questions tagged as 'android'

2
answers

Google Map on tabhost

I'm trying to make a mobile application that puts me on a map the parks of a city. I get them to position them correctly, however, now I would like to put that map on a tab. For this I do the following in the oncreate of the activity of tabs:...
asked by 26.04.2016 / 18:39
1
answer

Obtain total permissions to move files to the external card: microSD

I have been developing an app for a few months, and I still need to be able to move files to the external one from Lollipop onwards (Android M, etc). With the following line of code the user is shown a window for Show SD, mark and give in Sele...
asked by 27.06.2017 / 13:36
2
answers

Sending String data between Activities, using them on onClick ()

I've been doing the sending of a string data to another activity is called a caculate and from that to history but it has not worked for me can someone tell me what the inconvenience will be. Thanks! the variables are declared String d; Strin...
asked by 21.09.2018 / 18:32
2
answers

get latitude and longitude (position) google maps

I would like to be able to determine my current location in an android project, in order to get the latitude and longitude of my position to use them in a specific method, I have reviewed the resolved questions, but I do not understand the code...
asked by 14.12.2016 / 01:24
1
answer

AlertDialog Android Studio

My question is this: Is there any way to make an AlertDialog always show (even if you tap outside the object or on the back button) until you click on the "accept" or "cancel" button?     
asked by 23.01.2018 / 11:56
1
answer

RecyclerView creates a ghost record when deleting

I have a problem removing an item from my RecyclerView (which is linked to a database SQLite ). After successfully removing the data from both the database and the view, the animation is shown as deleted, but then a new element appears at the...
asked by 27.01.2017 / 17:48
1
answer

Delete file from /data/data/com.example.../files/

Holaaa. I make a query. I have a program that saves images as follows: DBHelperPropiedades db = new DBHelperPropiedades(this); //Si retorna una imagen if (requestCode == PICK_IMAGE && resultCode == Activity.RESULT...
asked by 05.02.2017 / 19:25
0
answers

Problem with AlertDialog and multichoice

I have an AlertDialog that has a multichoice and that it is filled by means of an arraylist of objects, that data I get from a webservices. The problem I have with this AlertDialog is that when I click on my actionbar to see if it loads the c...
asked by 04.06.2016 / 00:19
2
answers

How to make the PlayStore open if an app is not installed?

I'm trying to get the code to detect if an app is installed on the phone and if it is open, if it is not then open the PlayStore or rather search for the app to that is downloaded. public void open8 (View view){ if(InstaladaAplicacion("...
asked by 19.09.2017 / 00:21
4
answers

Collect values from EditText

I have a little doubt on Android. Suppose I have an EditText, in which the user will enter a number by keyboard. How can I collect that value? Let's see, I'll do it as if it were a text string, which would be where I do this: private EditText...
asked by 09.03.2018 / 01:07