I want users of my Android app to be able to email me a stack from any uncaught exception that causes my app to crash. Initially, I thought that I would just wrap each entry point in my application into a try / catch block, but there are too many of them even in my tiny application to make this reasonable.
What I'm really looking for is a way to specify some method as the default handler for any uncaught exceptions. Any suggestions?
java android exception
Segfault
source share