Android Question Lock Buttons

Bladimir Silva Toro

Active Member
Licensed User
Longtime User
I need to be able to block these buttons when my application is running.

1589399831585.png


Is it possible to do this?

Thanks
 

mangojack

Expert
Licensed User
Longtime User
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


Not so with Recent Apps & Home Key ...
 
Upvote 0
Top