@Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_BACK && Scoreflex.backButtonPressed() == true) { return true; } return super.onKeyDown(keyCode, event); }
@Override public void onBackPressed() { if (Scoreflex.backButtonPressed() == false) { super.onBackPressed(); } }