USB-Device-Info---Android icon indicating copy to clipboard operation
USB-Device-Info---Android copied to clipboard

Detection of USB

Open nikhilbchilwant opened this issue 11 years ago • 6 comments

Your app is working fine on my tablet as well as my mobile. I'm trying to do same thing (to detect usb) in other app but it is not working. I browsed through your source code and found that you are using "usbMan = (UsbManager) context.getSystemService(Context.USB_SERVICE);" I'm doing same thing but its not working. What may be cause?

nikhilbchilwant avatar Jun 09 '14 05:06 nikhilbchilwant

Are the devices detected in the Android or the Linux tab?

alt236 avatar Jun 10 '14 08:06 alt236

Yes, its showing them perfectly!

nikhilbchilwant avatar Jun 10 '14 08:06 nikhilbchilwant

Do they show up in both tabs?

alt236 avatar Jun 10 '14 12:06 alt236

yes. Android as well as Linux.

nikhilbchilwant avatar Jun 10 '14 17:06 nikhilbchilwant

@alt236 what may be the reason?

nikhilbchilwant avatar Jun 11 '14 18:06 nikhilbchilwant

You can tell me how to detect USB OR AC when plug. Thanks

khacdinh avatar Sep 26 '14 08:09 khacdinh