Android Question How to use KeyCode Back two times ?

Discussion in 'Android Questions' started by lamsri799, Jun 27, 2015.

  1. lamsri799

    lamsri799 Member Licensed User

    if i press back then message "Please press again to Exit Application" and when i press again to Close application
    do you have Example Code

    Thank you
  2. NJDude

    NJDude Expert Licensed User

    You can search the forums for "capturing back key", also, look above under SIMILAR THREADS.

    HERE is an example.