Salinger apart uncaught exceptions can cause some of the most grief in Android app development. No matter how often you test and with how many scenarios uncaught exceptions can still happen.
The solution we are going to go over in this tutorial will take a look at catching all uncaught exceptions (can’t get more extensional than that!) and dealing with them by presenting our own custom dialog to the user and exiting the application.
You can get the whole project at this link: