On Sat, Nov 20, 2010 at 4:45 AM, PaulJ <[email protected]> wrote:
> Problem occurs when a dialog progress appears and I change my phone > orientation, it freezes and crashes. > If you use showDialog() to show a dialog, use dismissDialog() to dismiss it. On Tue, Nov 23, 2010 at 5:35 AM, viktor <[email protected]> wrote: > You are dismissing dialog in a Runnable, thats why you have exception. > > Try do it in UI Thread, I mean obtain message and send it to Handler. > Looks like he's posting the Runnable on the UI thread, which has the same effect as sending a message. ------------------------------------------------------------------------------------------------- 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

