Reputation: 20422
I have to connect to usb device on android and the user is expected to select device and allow access to USB, so finally i have UsbDevice instance. How can i know it's linux file path (something like "/dev/bus/usb/002/001
") to pass it to native code.
Will it require android device rooting? If yes i can request usb device permission using standard android approach and i believe it grants usb file access to app process. Will it help?
Upvotes: 1
Views: 1397