Reputation: 4985
I would like to make it easier on Android for user to quit (force stop) an app - without needing to go in Settings>Manage applications ... etc. If there already is an easier way, please share.
If not, is there a way to add menu items to Recent Screens menu? I am working on Honeycomb at this point but am equally interested in answers for ICS as well.
Thanks
Upvotes: -1
Views: 321
Reputation: 1006944
I would like to make it easier on Android for user to quit (force stop) an app
Fortunately, this is not possible, because "force stop" has specific ramifications beyond "quit".
is there a way to add menu items to Recent Screens menu?
Sorry, no.
Upvotes: -1
Reputation: 583
You should give a look at this:
android.os.Process.killProcess(android.os.Process.myPid());
http://developer.android.com/reference/android/os/Process.html#killProcess%28int%29
http://developer.android.com/reference/android/os/Process.html#myPid%28%29
Upvotes: 0