@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
if(keyCode == KeyEvent.KEYCODE_BACK||keyCode == KeyEvent.KEYCODE_HOME){
finish();
}
return super.onKeyDown(keyCode, event);
}
@Override
protected void onDestroy() {
System.exit(0);
super.onDestroy();
}