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) =...