[ Android ] 안드로이드 코르도바 뒤로가기 처리
출처 : m.blog.naver.com/youngchanmmm/220078642485 @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if(keyCode == KeyEvent.KEYCODE_BACK) { exitApp(); return true; } return super.onKeyDown(keyCode, event); } private void exitApp() { AlertDialog.Builder db = new AlertDialog.Builder(this); db.setTitle("종료") .setMessage("종료하시겠습니까?") .setCancelable(true) .setPositiveButton(android.R.str..
2021. 2. 25. 18:32