Reputation: 51631
Is there any way to catch crashes in my own android app? Something like a global uncaught exception handler? Just wondering if I could install something like that, then if an uncaught exception is thrown, I could pop up a dialog for the user and ask if they want to mail a dump of the exception to me.
Thanks
Upvotes: 17
Views: 8149
Reputation: 29722
FWIW, we've been using Crittercism's free plan with success. They also offer some premium features, like handling the exception so the app doesn't crash.
In the free version, the user still sees the crash, but at least I get the email and the stack trace.
We also use the iOS version (but I've heard from my colleagues that it is not quite as good).
Here are similar questions:
Upvotes: 0
Reputation: 323
DroidDrop is a dead project. Neat Idea though wish they open sourced it.
Upvotes: 0
Reputation: 1006869
Is there any way to catch crashes in my own android app? Something like a global uncaught exception handler?
See Thread.setDefaultUncaughtExceptionHandler()
.
Just wondering if I could install something like that, then if an uncaught exception is thrown, I could pop up a dialog for the user and ask if they want to mail a dump of the exception to me.
You can also use Flurry, DroidDrop, or any of the other implementations of this already available.
Upvotes: 16