Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

projected-hardware

БесплатноБез исполняемых скриптовНе проверен

Provides instructions and workflows for accessing and managing hardware on Android XR projected devices, such as audio glasses and display glasses. Use this…

androidот android★ 10 827 звёзд на GitHub

Об этом скилле

Prerequisites

  • You must use a compileSdk of 36 or higher.

Connection and lifecycle management

Intelligent eyewear hardware is only accessible while the glasses are connected to the host phone. Monitor connection state and manage resource lifecycles using ProjectedContext. You must read Understand projected activities and projected contexts to understand how to get a projected context and how to manage its lifecycle.

Request glasses hardware permissions

  • Hardware permissions and opt-in : You must read Request hardware permissions to understand how to declare camera and microphone runtime permissions in the Android Manifest file, request runtime permissions in different scenarios, and handle permission results.

Glasses hardware access and capabilities

  • Camera capture and CameraX : You must read Capture an image with the glasses' camera to understand the implementation patterns for capturing a photo with the glasses' camera using a ProjectedContext.
  • Bluetooth HFP audio and host device context : Read Use a projected context to access hardware to route AudioRecord to the glasses microphone over Bluetooth HFP (TYPE_BLUETOOTH_SCO, VOICE_COMMUNICATION, setPreferredDevice, and setCommunicationDevice) and to obtain the host phone context from a projected activity using ProjectedContext.createHostDeviceContext(activity) (annotated with @OptIn(ExperimentalProjectedApi::class) from androidx.xr.projected.experimental.ExperimentalProjectedApi).

Установить projected-hardware в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/android/develop/xr/jetpack-xr-sdk/access-hardware-projected-context.mdreferences/android/develop/xr/jetpack-xr-sdk/glasses/check-availability.mdreferences/android/develop/xr/jetpack-xr-sdk/glasses/support-different-types.mdreferences/android/develop/xr/jetpack-xr-sdk/request-hardware-permissions.md

FAQ

Что делает скилл projected-hardware?

Provides instructions and workflows for accessing and managing hardware on Android XR projected devices, such as audio glasses and display glasses. Use this skill when building experiences for intelligent eyewear in an Android app and you need to access device hardware like the camera and microphone, handle glasses-specific runtime permissions, or manage connection lifecycles using projected context.

Как установить скилл projected-hardware?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл projected-hardware запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить projected-hardware с