Android Question Disable KeyPress Info Button

ronovar

Active Member
Licensed User
Longtime User
I would like to disable INFO button on my remote control to stop show system info in right lower corner.So that i can use my INFO button in my apk. For Example:

When i press INFO button i would like to open POPUP menu in my apk and when i press one more time INFO button on my remote control it closes POPUP menu. But when i press INFO button it always shows info from android system info...how to disable it?

Here is code that i try:

B4X:
Sub Activity_KeyPress (KeyCode As Int) As Boolean
    Select Case KeyCode
       Case "83"              ' INFO Button Code is 83
                PopupMenu.Show
                Return True
     End Select
End Sub
 
Top