How to hide alert dialog programmatically?

by SteleFreak » Mon, 13 Apr 2009 06:35:23 GMT


Sponsored Links
 Is there a way to hide alert dialog after it has been shown, but
programmatically?? Or is the BACK button only way? Or if i need to
implement a button , what method should I call for alert to be hidden?
--~--~---------~--~----~------------~-------~--~----~



How to hide alert dialog programmatically?

by sm1 » Mon, 13 Apr 2009 07:50:22 GMT


 do

  yourAlert.hide();

all Dialog children have this method.

serge



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


How to hide alert dialog programmatically?

by Ralf » Mon, 13 Apr 2009 10:00:21 GMT


 


 http://developer.android.com/reference/android/app/Activity.html #dismissDialog(int)

R/


--~--~---------~--~----~------------~-------~--~----~