http://stackoverflow.com/questions/4779954/disable-back-button-in-android
Override the onBackPressed method and do nothing if you meant to handle the back button on the device.
@Override
public void onBackPressed() {
}
Requires API Level 5 or higher.
force stop:
http://stackoverflow.com/questions/5100728/how-to-force-stop-my-android-application-programatically
'Programming Android' 카테고리의 다른 글
android input box (0) | 2012.07.09 |
---|---|
Tremolo library (ogg) (0) | 2012.07.08 |
Android multitouch: ACTION_UP not always called? (0) | 2012.07.06 |
How to use Multi-touch in Android 2: Part 3, Understanding touch events (0) | 2012.07.04 |
안드로이드 Failed to install on device timeout (0) | 2012.07.03 |