Android Question Intercept central button

Giusy

Active Member
Licensed User
Hi, when the user presses on the device, the right button I intercepts it so

Sub Activity_KeyPress (KeyCode As Int) As Boolean
If KeyCode = KeyCodes.KEYCODE_BACK Then
GO_TO_HOME
End If
Return False

End Sub

but when the central button is pressed which is the routine?
Thanks
 

ronell

Well-Known Member
Licensed User
Longtime User
it should stop.. pressing homekey will open homescreen and will make the app go to activity_pause
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…