close apps restart automatically

  1. N

    Android Question Why Close the app couse app restart automatically?

    i want to close the app when user click return button, using code below, but the app restart automatically. Sub Activity_KeyPress (KeyCode As Int) As Boolean If KeyCode = KeyCodes.KEYCODE_BACK Then If Msgbox2("Do you want to close?", "", "Yes","", "No", Null) =...
Top