when ever any application crash come I want to exit from the app ?
How to achieve same. does Android manifest have any provision for same.
I would recommend to register a global UncaughtExceptionHandler. This catches all the exceptions that are not handled. Then you can do there what you want. For example close the app, inform the user and send a log to yourself.
来源:https://stackoverflow.com/questions/5193136/exit-on-application-crash