Questions tagged as 'alertdialog'

1
answer

Error showing the external file directory in an AlertDialog in android 6.0 (READ_EXTERNAL_STORAGE / WRITE_EXTERNAL_STORAGE)

Hello friends what happens to me is that I need to read the route of a file that is stored in the memory of my cell phone, I have everything, what happens is that in Android 5.1 I run well without problems and I visualized the directory and when...
asked by 24.09.2016 / 20:57
1
answer

Difference between alertDialogStyle and alertDialogTheme

Well the title is very clear, what is the difference between alertDialogStyle and alertDialogTheme ? I have been looking at the documentation of Android developers but it is not very clear to me, could you explain it to me better? <...
asked by 17.10.2016 / 18:05
3
answers

Show a dialogue on android

I have a problem: I want to show a dialogue that I made from a layout that has a text and a button but I do not understand because it tells me that the application stopped. Code: public class MainActivity extends AppCompatActivity { Bu...
asked by 18.12.2016 / 17:36
1
answer

Android Permissions System Deny Button

I'm trying to integrate the permissions system from android 6 onwards. The objective is to force the user to accept the permissions to be able to use the app. In the game CSR Racing they do it hiding in the System dialog of permissions the rejec...
asked by 01.09.2016 / 12:38
1
answer

Change list background color (AlertDialog) when selecting an option, and keep it when reopening

I have doubts about how to do a alertdialog custom, where I can make that when I select an item of the alertDialog when I reopen it has the background of another color, indicating that this item was selected, and if I select another item,...
asked by 06.09.2017 / 06:30
1
answer

Checks Alert Dialog Android

I am trying to do some checks within alertdialog to see if certain conditions are met and let the user continue with the process. But when the user gives the download button (PositiveButton) makes the checks and leaves the alertdialog...
asked by 19.10.2016 / 10:04
1
answer

Android Should I use a doInBackground inside an AlertDialog?

Good morning everyone. I have this doubt ... The fact is that I need to click on an item in a list to 'execute' a URL that returns a true or false answer, to confirm or cancel a reservation. I am using a AlertDialog within a On...
asked by 12.08.2017 / 07:15
1
answer

Problem with DialogFragment on Android?

I am trying to develop an application that looks like a feed news where the information is obtained from a json that is in a host , from there I can add and modify the data, the information is displayed in a cardview the problem...
asked by 10.11.2016 / 21:03
1
answer

Do not save checkitem selected in Sharedpreference

Good afternoon I have an AlertDialog singlechoice which I fill from an array of objects which I get from a webservices. Well my problem is that I save the id of the selected object in the shapredpreferences and then use them in a filter in...
asked by 11.06.2016 / 01:40
2
answers

removeView () AlertDialog on Android

I'm trying to show a personalized list within an alertDialog, everything goes well until the user clicks on an item followed by the alertDialog is closed and when I want to show the alertDialog again I get this error: The specified child alrea...
asked by 16.05.2017 / 19:07