Android Open Accessory(AOA)では、外部の USB ハードウェア(Android USB アクセサリー)が Android 搭載デバイスとアクセサリー モードで通信できるようにしています。Android 搭載デバイスをアクセサリー モードにすると、接続されたアクセサリーが USB ホストとして動作(バスに電源を供給してデバイスを列挙)し、Android 搭載デバイスが USB アクセサリーとして動作します。
Android USB アクセサリーは、Android 搭載デバイスに接続できるように設計されています。
このようなアクセサリーは AOA に準拠し、アクセサリー モードをサポートする Android 搭載デバイスの検出と 500 mA(5 V)の充電を行える必要があります。以前にリリースされた Android 搭載デバイスの中には USB デバイスとしてのみ動作し、外部 USB デバイスとの接続を開始できないものもありますが、AOA サポートによりこのような制約がなくなり、各種の Android 搭載デバイスとの接続を開始して通信を行えるアクセサリーが作成できます。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-27 UTC。"],[],[],null,["# Android Open Accessory (AOA) support allows external USB hardware\n(Android USB accessories) to interact with Android-powered devices in\n*accessory mode*. When an Android-powered device is in\naccessory mode, the connected accessory acts as the USB host (powers the bus and\nenumerates devices) and the Android-powered device acts as the USB accessory.\n\nAndroid USB accessories are designed to attach to Android-powered devices.\nSuch accessories adhere to AOA, enabling them to detect Android-powered devices\nthat support accessory mode, and must provide 500mA at 5V for charging power.\nSome previously-released Android-powered devices are capable of acting only\nas a USB device and cannot initiate connections with external USB devices. AOA\nsupport overcomes this limitation, enabling you to build accessories that can\ninitiate connections and interact with an assortment of Android-powered devices.\n| **Note:** Accessory mode is dependent on device hardware; not all devices support accessory mode. Devices that support accessory mode can be filtered using a `\u003cuses-feature\u003e` element in the corresponding application's Android manifest. For details, see the [USB Accessory](http://developer.android.com/guide/topics/connectivity/usb/accessory.html#manifest) developer guide.\n\nAOA has two versions that support different types of communication:\n\n- **[AOAv1](/docs/core/interaction/accessories/aoa).** Supports generic accessory communication and adb debugging.\n- **[AOAv2](/docs/core/interaction/accessories/aoa2).** Supports human interface device (HID) capabilities. Available in Android 4.1 (API Level 16) and higher."]]