Unsolved Generic HID on Android device
-
Hi,
I want to read and write generic HID USB device on Android in my Qt 5.11 app. What are the options?- Any API that can directly interface with generic HID USB device?
- libusb? Is it possible to use it in Qt app for Android?
-
Hi,
What device are you targeting ?
What kind of device do you want to communicate with ? -
I want to connect USB device designed by myself (it is USB generic HID device - one interrupt in and one interrupt out endpoint) to some Android tablet - I haven't chosen one yet. Some cheap one probably...
-
hi @martind ,
as far as I know, USB devices is not something that is supported out of the box for Qt on AndroidTaking a quick look at the Android developer page, I found the class
UsbDevice
https://developer.android.com/reference/android/hardware/usb/UsbDeviceSo it should be possible, as long as your USBDevice itself is registered in the OS.
My guess is you'll have to write some native code to access it correctly.