I have an Android tablet with a mini USB port and a USB port, and I want to write an application for communicating with a USB key. I wrote a demo to find out the USB key, but there is no answer.
My concern is that if I ran this demo on my other tablet, which only has a mini-USB port but supports USB OTG, it can find the key through the OTG cable. When I insert the USB key into the USB port, there is no answer. I want to know what the difference is.
Can't I use the USB API to find the key in the USB port? And what's the difference between communicating with a USB device in a mini USB port using an OTG cable and on a USB port directly?
source share