I’ve very little knowledge about all this codes, but I’m building an application, and I want to kill the application onPause. Please give me a code by which I can kill the application.
I’ve very little knowledge about all this codes, but I’m building an application, and
Share
Please don’t use all caps.
You shouldn’t use System.exit(0); but since your question is in all caps you probably will.
Other ways to exit app and reason to not use System.exit:
Close application and launch home screen on Android