Handling the Back Key is simple , something like ...
B4X:
Sub Activity_KeyPress (key As Int) As Boolean
If key=KeyCodes.KEYCODE_BACK Then
Return True 'capture/process back key
Else
Return False 'system handles key
End If
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.