Hi guys ?
how to handle Activity_KeyPress for ExitApplication?
I go from the "main page" to the "second page" and from there to the "third page"
Click the back button on the "third page" and then return to the ""second page" and click again and return "main page"
Now if I am on the "main page" if click again I have to exit the program
how to handle Activity_KeyPress for ExitApplication?
I go from the "main page" to the "second page" and from there to the "third page"
Click the back button on the "third page" and then return to the ""second page" and click again and return "main page"
Now if I am on the "main page" if click again I have to exit the program
B4X:
Sub Activity_KeyPress (KeyCode As Int) As Boolean
ExitApplication !!!!!!!!
Return B4XPages.Delegate.Activity_KeyPress(KeyCode)
End Sub