Stay organized with collections
Save and categorize content based on your preferences.
Android Open Accessory (AOA) support allows external USB hardware
(Android USB accessories) to interact with Android-powered devices in
accessory mode. When an Android-powered device is in
accessory mode, the connected accessory acts as the USB host (powers the bus and
enumerates devices) and the Android-powered device acts as the USB accessory.
Android USB accessories are designed to attach to Android-powered devices.
Such accessories adhere to AOA, enabling them to detect Android-powered devices
that support accessory mode, and must provide 500mA at 5V for charging power.
Some previously-released Android-powered devices are capable of acting only
as a USB device and cannot initiate connections with external USB devices. AOA
support overcomes this limitation, enabling you to build accessories that can
initiate connections and interact with an assortment of Android-powered devices.
AOA has two versions that support different types of communication:
AOAv1. Supports generic accessory communication and adb
debugging.
AOAv2.
Supports human interface device (HID) capabilities.
Available in Android 4.1 (API Level 16) and higher.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-08-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-26 UTC."],[],[]]