I want to use the UsbManager
API by wrote following code:
In the Activity code:
UsbManager manager = (UsbManager) getSystemServi
Probably you are trying to run through android emulator but.....according to Android specs for the emulator : http://developer.android.com/tools/devices/emulator.html#limitations
The functional limitations of the emulator include:
No support for USB connections
So, only with real device you can test UsbManager