I am working on an Android project the requirement is as follows: if any exceptions occur we need to exit the application by showing error message.
I am aware that Android doesn't allow to exit application programmatically so other work around should be to freeze the application that is user should not be able to do anything in the application. But how do I implement this.