public boolean onKeyDown(int keyCode,KeyEvent event){
if (keyCode==KeyEve nt.KEYCODE_BACK && event.getRepeatCount() == 0) {
startActivity(new Intent(nowActivity.this,MainActivity.class);
finish();
}
return false;
}