Skip to content

Detection of USB #1

Open
Open

Description

@nikhilbchilwant

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?

Activity

  1. alt236 commented on Jun 10, 2014

    @alt236
    Owner

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

  2. nikhilbchilwant commented on Jun 10, 2014

    @nikhilbchilwant
    Author

    Yes, its showing them perfectly!

  3. alt236 commented on Jun 10, 2014

    @alt236
    Owner

    Do they show up in both tabs?

  4. nikhilbchilwant commented on Jun 10, 2014

    @nikhilbchilwant
    Author

    yes. Android as well as Linux.

  5. nikhilbchilwant commented on Jun 11, 2014

    @nikhilbchilwant
    Author

    @alt236 what may be the reason?

  6. khacdinh commented on Sep 26, 2014

    @khacdinh

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions