[Interest] Detect connected Bluetooth keyboard under Android
Roman Wüger
roman.wueger at gmx.at
Mon Oct 29 23:37:32 CET 2018
Hi @all,
i played with the QBluetoothLocalDevice and QBluetoothDiscoveryAgent to detected if a Bluetooth keyboard is connected to an android tablet.
However, I can’t find out the correct way. I tried to read the majordeviceclass and minordeviceclass but it doesn‘t work, I only get 31,0 but the documentation says that 5 should be the major device class. The keyboard works in any input fields, but I can‘t find it.
I only need a signal if a keyboard connects/disconnects like hardwareKeyboardConnected(bool)
What do I need for that?
Thanks in advance
More information about the Interest
mailing list