views:

83

answers:

2

Some of the analytics packages (for instance, Flurry) will listen for Exceptions and log them w/o actually catching them. How are they doing this?

+1  A: 

Probably via Thread.setDefaultUncaughtExceptionHandler().

CommonsWare
+2  A: 

See Thread.setDefaultUncaughtExceptionHandler and the respective Thread.UncaughtExceptionHandler which receives the Thread and Throwable involved.

Christopher
Thanks... I ended up finding another question which had a pretty good answer thanks to your help. http://stackoverflow.com/questions/601503/how-do-i-obtain-crash-data-from-my-android-application/755151#755151
fiXedd