Hi all,
I want to detect a KeyDown event like public boolean onKeyDown (int keyCode, KeyEvent event), but don't work......
During that time I want do something
I test with:
Any ideas?
Is valid too longkeypress........
I want to detect a KeyDown event like public boolean onKeyDown (int keyCode, KeyEvent event), but don't work......
During that time I want do something
I test with:
B4X:
Sub Activity_onKeyDown (KeyCode As Int) As Boolean 'Return True to consume the event
If KeyCode = KeyCodes.xxxxxxx Then
Log("Down")
ToastMessageShow("Play LARGOOOOO", False)
Return True
End If
End Sub
Any ideas?
Is valid too longkeypress........