I am looking for a way to catch keyUp events when a key is pressed. In the B4A constants it appears that KeyCodes like KEYCODE_Fcaptures both, "f" and "F" keys together, but I am looking for a way to detect KeyCode for "f" and "F" separately.
Sub Activity_KeyDown(Keycode As Int, KeyEvent As Object)
Dim jo As JavaObject = KeyEvent
Dim c As Int = jo.RunMethod("getUnicodeChar", Null)
If c > 0 Then
Log(Chr(c))
End If
End Sub
#if Java
public boolean _onkeydown (int keyCode, android.view.KeyEvent event) {
processBA.raiseEvent(null, "activity_keydown", keyCode, event);
return false;
}
#End If