/*
* 重载back按钮响应事件
*/
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
// TODO Auto-generated method stub
if (keyCode == KeyEvent.KEYCODE_BACK) {
//your code here
}
return super.onKeyDown(keyCode, event);
}
* 重载back按钮响应事件
*/
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
// TODO Auto-generated method stub
if (keyCode == KeyEvent.KEYCODE_BACK) {
//your code here
}
return super.onKeyDown(keyCode, event);
}