Questions tagged as 'alertdialog'

1
answer

Application giving Crash on a button within a custom AlertDialog

I'm working with Alert Dialogs and I had an error where the application stopped responding. The following code refers to a snippet where the Google Maps API is being used, which means that when I click on a specific marker it will open an AlertD...
asked by 22.06.2017 / 19:13
1
answer

How do I close a dialog when the condition is true?

How can I make a custom alertDialog close after the user activates gps? The dialog box tbm can not close while the gps condition is false, ie while it is disabled the alertDialog has to remain, but when activated the gps dialog box still remains...
asked by 05.10.2016 / 22:08
1
answer

I would like to insert a javascript alert in my action button

first the action call to delete <?php $aux = 0; while($resultado = mysql_fetch_object($query)) { $url_alterar = "form_alterar.php?cod=".$resultado->id; $url_excluir = "excluir_cad.php?cod=".$resultado->id; if ($aux % 2 == 0) Now th...
asked by 22.09.2016 / 06:00
1
answer

Problem displaying AlertDialog

I'm getting an error message when trying to show AlertDialog using Android Studio. protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_registrar_pagamento_ma...
asked by 04.11.2018 / 06:39
0
answers

dialog call fragment android studio

Good night, I'm having problems in calling a dialog fragment in android, with an activity that is encoded in Kotlin, calling a Java-encoded fragment dialog, the NPE error is happening in the line "datePicker = getActivity (). getLayoutInflater (...
asked by 15.10.2018 / 04:17
1
answer

Attempt to invoke virtual method

Good morning, I was doing a generic class to use AlertDialog, but I came across the following problem: 05-28 10:11:16.323 19359-19359/com.example.vitordalmolin.abllock E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.vitordalmolin....
asked by 28.05.2018 / 14:38