B4X:
Sub Activity_KeyPress (KeyCode As Int) As Boolean
Select KeyCode
Case KeyCodes.KEYCODE_VOLUME_UP
'do volume up code
Return True
Case KeyCodes.KEYCODE_VOLUME_DOWN
'do volume down code
Return True
End Select
Return False
End Sub
This works fine when you CLICK the volume keys (short down/up). However, if I keep the buttons down, the native volume interface from my phone shows up on the screen... why?