How to Kill Application From any activity in android

view story

http://stackoverflow.com – I have 5 activities. When I click on any button in any of those 5 activities, I want to close the application and when I reopen it, I want to launch the application from first activity. Can any one help me. I used this code : CurrentActivity.this.moveTaskToBack(true); android.os.Process.killProcess(android.os.Process.myPid()); It's working fine, but when i relaunch the app it does not shows the first activity. (HowTos)