Using Global Exception Handling on android
<p>Is there an example code, or a tutorial on how to use the Thread.setDefaultUncaughtExceptionHandler method? Basically I'm trying to display a custom alert dialog, whenever an exception is thrown, in my application. Is it possible to do this? I know it's a little bit tricky to display something on the screen, if the exception is thrown in the ui thread but I don't know any work around for this.</p>

<p>Best Regards,</p>

<p>Gratzi</p>
