On Thu, Aug 12, 2010 at 8:12 AM, pramod.deore <[email protected]>wrote:
> How to solve this issue? As far as the dialog is concerned, if you use showDialog(), it should be restored for you on configuration changed. However, as Devdroid alluded, anything in your Activity is destroyed with it and you end up with a brand new Activity. You have to transfer any data that you want to "keep alive" from the old Activity to the new one. Have a look at this: http://developer.android.com/reference/android/app/Activity.html#onRetainNonConfigurationInstance() ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

