I am developing an Android application in which I have to get details of USB device connected to Tablet via OTG .
Android
USB device
OTG
when I use <
Below example link provides data like :
1)The Device class 2)The USB device path 3)The Vendor ID (VID) and the Product ID (PID). 4)A List of all interfaces and their endpoints. etc...
see github example