I use ACRA in my android application. It's very useful but sometimes boring.
Sometimes, there are several asynchronous tasks running in the background. And for season, all of them failed(e.g. can't connect to internet). ACRA will show the toast message again and again, and refused to exit.
Is it able to let ACRA just catch the first exception? Or just show the toast message once?
Update
add a demo: https://github.com/freewind/android-acra-multi-reports
There are 4 activities in this project. The last one will throw exception and each previous activity will throw exception in onActivityResult
. You can see ACRA will report many times before exiting.
startActivityForResult
and theActivity
crashes the callingActivity
will get a negative result. If you throw another Exception inonActivityResult
, well then thatActivity
will of cause crash too. Also see the doc forActivity
.