Please do not do it this way. Dialogs should be shown using managed dialogs.
Please consult the documentation, or see this link for an example:
http://www.androidcompetencycenter.com/tag/activity-managed-dialogs/
Evan Charlton
On Tue, May 12, 2009 at 8:16 AM, Android Users androidmai...@gmail.comwrote:
Repeated post.[?]
Flipping the device would recreate the activity. So the dialog is getting
dismissed.
Override the method onConfigurationChanged(). and for the activity, set
the configChangesparameter to keyboardHidden|Orientation in the manifest
file. doing this, will not recreate the activity.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---
inline: 328.png