Iroid wrote:
> Hello all,
> 
> In my current application I want to show a dialog having "Force Close"
> and "Report" option at the time of Unhandled Exception.
> 
> Could anyone please let me know how to have this dialog?
>  right now if I change defaultExceptionHandler to mine It gets control
> but I am not able to show any dialog after that. I guess UI thread is
> already closed by the time handler gets control.

No, I think you are going about this correctly. However, you may not be
called on the UI thread, so you need to use runOnUiThread() or something
 to arrange for your dialog to be opened on the UI thread. Leastways,
that approach has worked for me.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_The Busy Coders' Guide to *Advanced* Android Development_ In Print!

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to