On Sep 4, 2:43 pm, blindfold <[EMAIL PROTECTED]> wrote:
> Moreover, killing the old handler will not solve the problem with the
> out-of-control new progress dialog that Android instantiates upon a
> screen orientation change. I would have to know its handle to dismiss
> it, but I cannot know its handle because I did not instantiate the new
> progress dialog myself, right?

Sure you did.  Please read:
http://code.google.com/android/reference/android/app/Activity.html#ConfigurationChanges

What happens when an orientation change occurs is that the current
activity is destroyed, and a new one created.  So if you have bugs in
how you handle being destroyed (not correctly closing dialogs,
stopping message pumps) or in how it is re-created from its previously
saved state (not retrieving the state and performing its
initialization based on that), then you will have bugs during an
orientation change.

--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to