Giusy Active Member Licensed User Jul 18, 2018 #1 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
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
R ronell Well-Known Member Licensed User Longtime User Jul 18, 2018 #2 there's no way to intercept home key Upvote 0
R ronell Well-Known Member Licensed User Longtime User Jul 18, 2018 #4 you want to check if the user is in homescreen while the app is in background? Upvote 0
Giusy Active Member Licensed User Jul 18, 2018 #5 When the user press the central button i want to stop playing Upvote 0
R ronell Well-Known Member Licensed User Longtime User Jul 18, 2018 #6 it should stop.. pressing homekey will open homescreen and will make the app go to activity_pause Upvote 0