Hello Erel
I try, in this way
Sub Activity_KeyPress (KeyCode As Int) As Boolean 'Return True to consume the event
If KeyCode=KeyCodes.KEYCODE_HEADSETHOOK Then
Label1.Color = Colors.Red
End If
Label1.Text = KeyCode
End Sub
KeyCodes.KEYCODE_HEADSETHOOK => works with handsfree cable:
KeyCodes.KEYCODE_HEADSETHOOK => No works with handsfree Bluetooth
Label1.Text = KeyCode => not generate code by pressing button Bluetooth Handsfree
Erel I thank you for the help you can give me