I currently have an app which launches a different Activity if the user has crashed multiple times. However, the app can still crash in this alternate activity due to background services / push services.
Is there a way to prevent the main thread from dying and still retain its message queue. I am using Thread.setDefaultUncaughtExceptionHandler()
and swallowing the exception but seems like the thread still freezes or terminates. I tried thread.start()
but then all the UI events that were posted to the MessageQueue no longer work (the view is frozen)