> dismiss() can be called from any > thread: http://developer.android.com/reference/android/app/Dialog.html#dismiss() > It just queues the dialog up for cleanup - or something along those lines.
Hmm, I see. I would argue it shouldn't be thread safe, since it violates the don't touch the UI rule. But yeah, I highly recommend using showDialog/removeDialog and don't bother holding an instance of the progress dialog yourself. This, along with the static activity should work ok if you want a quick fix. Or, you'll have to use saveinstance to save status of your app and handle it accordingly in onCreate(). > This is why Greg's code path is not in the stacktrace. > ------------------------------------------------------------------------------------------------- > 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 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 -- ~ Jeremiah:9:23-24 Android 2D MMORPG: http://solrpg.com/, http://www.youtube.com/user/revoltingx -- 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