Ad
Subscribe by Email
Sign up to automatically receive the latest articles and tutorials in your Inbox.
Reach out & follow us
TwitterFollow us on Twitter
Google PlusJoin a prestigious circle
RSS FeedSubscribe to our RSS Feed
EmailReach out to us via email
Popular
- Windows 8: The most important reason to switch to Linux 41 comments
- Cinnamon proposed to replace GNOME Shell as default DE on Fedora 19 40 comments
- 9 Google Reader alternatives 24 comments
- Upgrading Fedora 17 to 18 with FedUp is elegant, but ... 23 comments
- Ubuntu is not a community distribution 23 comments
- How to dual-boot Fedora 18 and Windows 8 on 1 HDD, with GRUB in a PBR 22 comments
- 4 gui applications for installing Linux from USB key 19 comments
- Fedora 18 (Spherical Cow) review 18 comments
- Hybryde Fusion: A very unique Linux distribution 17 comments
- 2 productivity-boosting extensions for GNOME 3 16 comments
Recent Comments
-
ted: My first Linux experience was Linux Linpus Lite that came wi…
-
Niaj: Thanks. …
-
Kunal Ghosh: I found another two quirks in Olivia. Occassionally, Oli…
-
finid: What are the names of the partitions that came with PC. Plea…
-
Ishaan Sahai: I shrunk the C partition to have some free space. Getting in…








Android Open Accessories
Android’s USB port has in the past been curiously inaccessible to programmers. Last week at Google I/O we announced the Android Open Accessory APIs for Android. These APIs allow USB accessories to connect to Android devices running Android 3.1 or Android 2.3.4 without special licensing or fees. The new “accessory mode” does not require the Android device to support USB Host mode. This post will concentrate on accessory mode, but we also announced USB Host mode APIs for devices with hardware capable of supporting it.
To understand why having a USB port is not sufficient to support accessories let’s quickly look at how USB works. USB is an asymmetric protocol in that one participant acts as a USB Host and all other participants are USB Devices.
In the PC world, a laptop or desktop acts as Host and your printer, mouse, webcam, etc., is the USB Device. The USB Host has two important tasks. The first is to be the bus master and control which device sends data at what times. The second key task is to provide power, since USB is a powered bus.
The problem with supporting accessories on Android in the traditional way is that relatively few devices support Host mode. Android’s answer is to turn the normal USB relationship on its head. In accessory mode the Android phone or tablet acts as the USB Device and the accessory acts as the USB Host. This means that the accessory is the bus master and provides power.
Establishing the Connection Continue reading…
Related articles you might want to read: