Chapter     2

Discovering and Managing USB Within Android

What you will learn:

  • USB Service
  • USB Device Manager
    • Architecture and Design Flow
    • Example Application – USB Functionality Viewer
  • USB Host Manager
    • Architecture and Design Flow
    • Example Application – USBView
  • Conclusion

An important first step in managing a device or resource is to detect and identify the device or resource from the system. This is the first step at the start of the program. To detect a resource, programs generally adapt mechanisms like polling, interrupt, or event, and then get to know the availability. Once a device or resource is detected and available, the program will try to take control of the resource to manage it. Similarly, Android USB framework has to provide ...

Get Unboxing Android USB: A hands on approach with real world examples now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.