Unboxing Android USB: A hands on approach with real world examples (Paperback)

Rajaram Regupathy

  • 出版商: Apress
  • 出版日期: 2014-05-14
  • 售價: $2,560
  • 貴賓價: 9.5$2,432
  • 語言: 英文
  • 頁數: 200
  • 裝訂: Paperback
  • ISBN: 1430262087
  • ISBN-13: 9781430262084
  • 相關分類: Android
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

If you are a multimedia developer on Android platform you need USB for media transfer or playback audio. This book explores MTP and USB Audio in both USB device and USB host mode.

If you are an core developer who work on charging you need to understand USB charging specification which is explained in the book,

If you are a networking developer interested in tethering, USB plays a role using RNDIS specification which is explained in the book

If you are an application developer interested in managing USB devices in from an Android platform, this book explores Android USB Service framework which manages USB functionalities

Last not the least, Android Debug Bridge (ADB) the debugging tool of Android is over USB and knowledge of its internals is a define value add for any application or platform developer.  This book details the internal of ABD till the kernel level.

Thus 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 Android. This gives a clean perspective for you as a reader on what the USB specification demands and how it implemented in Android.

What you'll learn
  • Understand Android USB framework from APIs to the kernel layer and enable advance USB application development.
  • Learn all major USB functionalities by exploring the USB Class specification not covered in any of the USB books
  • Learn the newly introduced Android Open Accessory (AOA) Protocol and explore developing NFC reader using AOA protocol.
  • Learn critical changes in the Android USB framework between different Android versions.
  • Learn how USB charging works with explanation from the USB Battery Specification.
  • Learn how to switch between MTP to Mass Storage and vice versa to share storage to host PC.
Who this book is for
  • The primary audiences of this book are application developers and engineers who do hands on work with Android.  This book is for an application developer who has an APP idea with USB and wonders how to implement it. This book will be a definite guide for the developer and help him/her to manage USB on Android.
  • With the book covering from APIs to the Linux kernel, core platform developers finds it easy to put data point to debug. Thus core Android platform developers working on USB, Audio, media and others are the next primary audiences of the book.
  • Technical Managers or Architects or senior managers who look for eagle eye view of a system, are the secondary audiences of the book. The book will enable them to understand the different blocks of the Android USB subsystem and would help plan and estimate complexity involved.
  • Student and engineers can use this book as a do it yourself reference book as the book explains different blocks the Android USB framework from application level to the kernel. Students can use similar study approach to similar Android framework.

商品描述(中文翻譯)

如果您是一位在Android平台上從事多媒體開發的開發人員,您需要使用USB進行媒體傳輸或音頻播放。本書探討了在USB設備和USB主機模式下的MTP和USB音頻。

如果您是一位從事充電相關工作的核心開發人員,您需要了解USB充電規範,該規範在本書中有詳細解釋。

如果您是一位對網絡連接感興趣的開發人員,USB在使用RNDIS規範進行網絡共享方面發揮了作用,該規範在本書中有詳細解釋。

如果您是一位應用程序開發人員,對於從Android平台管理USB設備感興趣,本書探索了管理USB功能的Android USB服務框架。

最後但同樣重要的是,Android的調試工具Android Debug Bridge(ADB)是通過USB進行的,對其內部的了解對於任何應用程序或平台開發人員都具有明確的附加價值。本書詳細介紹了ADB的內部結構,直到內核級別。

因此,本書涵蓋了Android上的USB的所有內容,從設備模式下支持的不同USB類別到管理連接到Android平台的USB設備的USB主機框架。每一章節都會在探索Android中如何實現功能(類別)之前解釋USB類別規範,這為讀者提供了對USB規範要求以及在Android中如何實現的清晰觀點。

您將學到什麼:


  • 從API到內核層了解Android USB框架,並實現高級USB應用程序開發。

  • 通過探索USB類別規範來學習所有主要的USB功能,這些功能在任何USB書籍中都沒有涵蓋。

  • 學習新引入的Android Open Accessory(AOA)協議,並探索使用AOA協議開發NFC讀卡器。

  • 了解不同Android版本之間Android USB框架的重大變化。

  • 通過USB電池規範的解釋,了解USB充電的工作原理。

  • 學習如何在MTP和大容量存儲模式之間切換,以便與主機PC共享存儲空間。

本書的讀者:

  • 本書的主要讀者是從事Android應用程序開發和工程師,對於具有USB功能的應用程序開發人員來說,本書將是一本明確的指南,幫助他們在Android上管理USB。

  • 對於從API到Linux內核的覆蓋範圍,核心平台開發人員可以輕鬆地將數據點放入調試中。因此,從事USB、音頻、媒體等核心Android平台開發的開發人員是本書的次要讀者。

  • 技術經理、架構師或高級經理尋求系統的整體視圖,是本書的次要讀者。本書將使他們能夠了解Android USB子系統的不同模塊,並有助於計劃和估算所涉及的複雜性。

  • 學生和工程師可以將本書作為自助參考書,因為本書解釋了從應用程序級別到內核的Android USB框架的不同模塊。學生可以使用類似的學習方法來學習其他類似的Android框架。