1

Exit android application

view story
linux-howto

http://stackoverflow.com – Intent intent = new Intent(Intent.ACTION_MAIN); intent.addCategory(Intent.CATEGORY_HOME); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); and use this method moveTaskToBack(true); I'm developing an application and at the last activity I need to exit it, I have used the above methods which exits the application the problem is it exists the ONLY the activity and the application runs in background (seen in the task manager). Whenever I load the application again it starts with where I exit it (the last activity). is there any code to exit it completely and also remove (HowTos)