Hi, In the following sequence of events: 1. Start a new thread (as a result of a button click - or similar). 2. User changes the screen orientation (causing the Activity that started the thread to be destroyed). 3. Thread finishes, and wants to do some dialog (or any UI) work. However, doing a showDialog, dismissDialog, ... will crash, as the thread it still referring to the old Activity.
This can be solved by updating the data in the thread to refer to the new Activity upon a screen orientation change. However, couldn't the Android framework just forward any requests from a destroyed activity, to the newly created Activity, saving us developers the pain of handling it ourselves? Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

