自 2025 年 3 月 27 日起,我們建議您使用 android-latest-release
而非 aosp-main
建構及貢獻 AOSP。詳情請參閱「Android 開放原始碼計畫變更」。
Android 周邊裝置和配件
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
您可以使用一系列標準通訊協定,實作引人入勝的周邊裝置和其他配件,在各種 Android 裝置上擴充 Android 功能。
音響配件
Android 支援透過有線 3.5 公釐耳機插孔、USB 連線或藍牙,播放裝置上的本機音訊和遠端音訊。製造商應參閱 3.5 公釐耳機和 USB 耳機 規格,而使用者則可瞭解如何使用 USB 主機模式錄製及播放音訊。
» 音訊配件
自訂配件
您想連結哪些裝置至 Android 裝置?鬧鐘?
鍵盤?溫度控制器?機器人?瞭解如何使用 Android Open Accessory (AOA) 通訊協定,將現有設備或您自己的獨特硬體連線至 Android。
» 自訂配件
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[[["容易理解","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 (世界標準時間)。"],[],[],null,["# Android peripherals and accessories\n\nUsing a suite of standard protocols, you can implement compelling peripherals and other\naccessories that extend Android capabilities in a wide range of Android-powered devices. \n\nAudio accessories\n-----------------\n\nAndroid supports local on-device audio and remote off-device audio\nover a wired 3.5 mm headset jack, USB connection, or Bluetooth.\nManufacturers should see the\n[3.5 mm headset](/docs/core/interaction/accessories/headset/plug-headset-spec)\nand\n[USB headset](/docs/core/interaction/accessories/headset/usb-headset-spec)\nspecifications, while users can learn how to [record and play\nback audio using USB host mode](https://support.google.com/nexus/answer/6127700).\n\n[\\\u003e\\\u003e Audio accessories](/docs/core/interaction/accessories/audio) \n\nCustom accessories\n------------------\n\nWhat do you want to connect to your Android device? Alarm clock?\nKeyboard? Thermostat? Robot? Learn how to connect existing equipment or\nyour own unique hardware to Android using the Android Open Accessory\n(AOA) protocol.\n\n[\\\u003e\\\u003e Custom accessories](/docs/core/interaction/accessories/custom)"]]