I am trying to start an error-reporting activty if unhandled exception detected. The problem is with exceptions thrown from main thread. Is there any way to start an activity if main thread crashed?
The approach I've seen used for error catching in an UncaughtExcpetionHandler
is to write the crash data out to file and then start the error handling Activity
when the application is restarted based on the existence of the crash data file.
Depending on what you want your Activity
to do, this might work for you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With