Skip to content

When may I need libusb on Android? #1356

Closed Answered by Youw
SentretC asked this question in Q&A
Discussion options

You must be logged in to vote

To answer you question someone has to go over the Android USB API and compare it with libusb API (and check what is actually implemented/functional on Android and in what cases).

I don't believe anyone ever did so.

My best guess is that both should be functionally identical.

I'd make a few potential assumptions (didn't really check them):

  • Android API may have some convenient Android-specific quirks, like integration with event loops or some other Android APIs;
  • libusb API may have an implementation for some things (maybe rarely used features) that might be ommited by Android API only because "no one needed them on Android side of things" and because libusb tries to implement all of the US…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mcuee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants