Unboxing Android USB : a hands-on approach with real World examples /
This book covers everything about USB on Android from different USB classes supported in device mode to the USB host framework that manages USB device connected to an Android platform. Each chapter will explain USB class specification before exploring how the functionality (class) is implemented in...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Berkeley, CA :
Apress,
[2014]
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- At aGlance; Introduction; Chapter 1: Getting Started: The Android USB Framework; Android CDD
- USB; USB Device Mode; USB Host Mode; USB Accessory Mode; Android USB Architecture; USB Service; USB Function; android.hardware.usb; Other Infra; USB Service; USB Function; libusbhost; Kernel USB File System; Other Infra; Android USB Packages; android.hardware.usb; UsbAccessory; UsbDevice; UsbManager; UsbDeviceConnection; UsbInterface; UsbEndpoint; UsbRequest; Conclusion; Chapter 2: Discovering and Managing USB Within Android; USB Device Management; USB Host Management; USB Service.
- USB Device ManagerUSB Function Configuration; Android Gadget Driver uevents; Case 1: Discovering USB Device State Changes; Case 2: Managing USB Device Mode Functionality; USB Host Manager; Stage 1: Discovering a Device; Stage 2: Communicating with a Device; Stage 3: Terminating Communication with a Device; Sample 1: USBView; Design and Flow; Conclusion; Chapter 3: USB Storage; USB Mass Storage (UMS) Overview; Command Block Wrapper (CBW); Command Status Wrapper (CSW); Android Mass Storage Framework; Android USB Mass Storage Device Framework; Sharing the Storage.
- Android USB Mass Storage Host FrameworkUSB Media Transfer Protocol (MTP) Overview; Media Transfer Protocol Specification Overview; Android MTP Responder Framework; MTP Responder: Command/Response Sequence; Android MTP Initiator Framework; MTP Initiator: Discovering and Managing an MTP Device; Example 1: Switching MTP to UMS; Design and Flow; To Switch to UMS Mode; To Switch to MTP Mode; Example 2: MTP Initiator Application; Design and Flow; Conclusion; Chapter 4: USB Tethering; RNDIS Specification Overview; Android USB Tethering Framework; Enabling USB Tethering.
- Example: Reverse Tethering Over USBDesign and Flow; Host Setup; Device Setup; Chapter 5: USB Accessory; Android Open Accessory Protocol; Getting Accessory Protocol Version; Managing HID; Switching to Accessory Mode; Informational Requests; USB HID Specification; Android Open Accessory Framework; Detecting an AOA Device; Communicating with AOA in Accessory Mode; Registering and Communicating in HID Mode; Example: Android Open Accessory NFC Reader Using Cypress Fx3; Design and Flow; Conclusion; Chapter 6: USB Audio; USB Audio Specification; Android USB Audio; Intent for DEVICE_OUT_USB_ACCESSORY.
- Intent for DEVICE_OUT_USB_DEVICEUSB Host Audio; Example: How to Play Audio Over a USB Headset from an Android Device; USB Device Audio; Switching to Accessory Device Audio Mode; Example: Android Accessory Audio Dock Using Cypress FX3; Conclusion; Chapter 7: Android Debug Bridge (ADB); Setting Up ADB; Windows; Linux; ADB Protocol; Client Server Protocol; Server ADB Daemon Protocol; Android ADB Architecture; Example 1: Using JDB with ADB; Example 2: Backing Up Your Phone with ADB; Chapter 8:Battery Charging Using USB; Types of USB Chargers; Wall Charger; Personal Computer.