S sultan87 Active Member Licensed User Longtime User Feb 10, 2016 #1 hello, I wish to inhibit the rear back button of the smartphone only for the current application how to do ? best regards
hello, I wish to inhibit the rear back button of the smartphone only for the current application how to do ? best regards
klaus Expert Licensed User Longtime User Feb 10, 2016 #2 What do mean with rear back button ? Upvote 0
S sultan87 Active Member Licensed User Longtime User Feb 10, 2016 #3 klaus said: What do mean with rear back button ? Click to expand... it is the button located at the bottom right of the smartphone Upvote 0
klaus said: What do mean with rear back button ? Click to expand... it is the button located at the bottom right of the smartphone
An Schi Well-Known Member Licensed User Feb 10, 2016 #4 In the below example you can put in what your back key should do. Or put in nothing to do nothing. Code: Copy Sub Activity_KeyPress (key As Int) As Boolean ' BACK key pressed If key=KeyCodes.KEYCODE_BACK Then ' I want to capture the key here so I return True Return True End If ' Returning False signals the system to handle the key Return False End Sub Upvote 0
In the below example you can put in what your back key should do. Or put in nothing to do nothing. Code: Copy Sub Activity_KeyPress (key As Int) As Boolean ' BACK key pressed If key=KeyCodes.KEYCODE_BACK Then ' I want to capture the key here so I return True Return True End If ' Returning False signals the system to handle the key Return False End Sub