I tried closing the application using the finish(), but finish() method just finishes the activity, the application does not closes.
Now I am using System.exit(0) to close the application sometimes it works but sometime it throws an exception. How can I completely exit from an application??
I tried closing the application using the finish(), but finish() method just finishes the
Share
Okay, you can do onething get ProcessID of your application and in onDestroy() kill that process. Thats it