@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
// TODO Auto-generated method stub
if (keyCode == KeyEvent.KEYCODE_BACK) {
Log.e("", "onKeyDown,按下返回键啦");
moveTaskToBack(false);
return true;
}
return super.onKeyDown(keyCode, event);
}
原文地址:http://9105034.blog.51cto.com/9095034/1791175