By facebook
Develop Android apps for Meta Wearables using the DAT SDK: set up camera streaming, display content on Ray-Ban glasses, manage session lifecycle and permissions, and test integrations with MockDeviceKit without physical hardware.
Session and Stream capability setup, video frames, photo capture, resolution and frame rate configuration
Kotlin patterns, DatResult, session and capability conventions for DAT SDK Android development
Common issues, Developer Mode, version compatibility, and session and stream diagnosis
Display capability setup, display-capable device selection, UI DSL, icons, buttons, images, and video playback
SDK setup, Gradle integration, AndroidManifest configuration, and first connection to Meta glasses
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
The Meta Wearables Device Access Toolkit enables developers to utilize Meta's AI glasses to build hands-free wearable experiences into their mobile applications. By integrating this SDK, developers can reliably connect to Meta's AI glasses and leverage capabilities like video streaming and photo capture.
The Wearables Device Access Toolkit is in developer preview. Developers can access our SDK and documentation, test on supported AI glasses, and create organizations and release channels to share with test users.
Find our full developer documentation on the Wearables Developer Center.
You can find an overview of the Wearables Developer Center here. Create an account to stay informed of all updates, report bugs and register your organization. Set up a project and release channel to share your integration with test users.
For help, discussion about best practices or to suggest feature ideas visit our discussions forum.
See the changelog for the latest updates.
You can add the Wearables Device Access Toolkit to your Gradle project by following the steps below.
You will need to provide a personal access token (classic) with at least read:packages scope as an environment variable named GITHUB_TOKEN or
by adding it as a property named github_token in your local.properties file.
See SDK for Android setup for more details.
settings.gradle.ktsval localProperties =
Properties().apply {
val localPropertiesPath = rootDir.toPath() / "local.properties"
if (localPropertiesPath.exists()) {
load(localPropertiesPath.inputStream())
}
}
dependencyResolutionManagement {
...
repositories {
...
maven {
url = uri("https://maven.pkg.github.com/facebook/meta-wearables-dat-android")
credentials {
username = "" // not needed
password = System.getenv("GITHUB_TOKEN") ?: localProperties.getProperty("github_token")
}
}
}
}
libs.versions.tomlCheck the available versions in GitHub Packages.
[versions]
mwdat = "0.7.0"
[libraries]
mwdat-core = { group = "com.meta.wearable", name = "mwdat-core", version.ref = "mwdat" }
mwdat-camera = { group = "com.meta.wearable", name = "mwdat-camera", version.ref = "mwdat" }
mwdat-mockdevice = { group = "com.meta.wearable", name = "mwdat-mockdevice", version.ref = "mwdat" }
build.gradle.ktsdependencies {
implementation(libs.mwdat.core)
implementation(libs.mwdat.camera)
implementation(libs.mwdat.mockdevice)
}
To configure analytics settings in your Meta Wearables DAT Android app, add the following <meta-data> element to your
app's AndroidManifest.xml file within the <application> element:
<meta-data
android:name="com.meta.wearable.mwdat.ANALYTICS_OPT_OUT"
android:value="true"
/>
Default behavior: If the ANALYTICS_OPT_OUT metadata is missing or set to false, analytics are enabled
(i.e., you are not opting out). Set to true to disable data collection.
Note: In other words, this setting controls whether or not you're opting out of analytics:
true = Opt out (analytics disabled)false = Opt in (analytics enabled)Complete example:
npx claudepluginhub facebook/meta-wearables-dat-android --plugin mwdat-androidGit-native DAT SDK guidance for ios development, covering setup, camera streaming, display access, MockDeviceKit, session lifecycle, permissions, debugging, and sample app patterns.
Git-native DAT SDK guidance for ios development, covering setup, camera streaming, display access, MockDeviceKit, session lifecycle, permissions, debugging, and sample app patterns.
Skills for building Meta Display Glasses webapps
AI development skills for Even Realities G2 smart glasses apps — scaffolding, UI, input handling, device features, simulator testing, font measurement, and SDK/CLI reference for G2 smart glasses
Agent skills for Meta Quest and Horizon OS development. Helps Claude assist with Quest app debugging, performance analysis, project setup, Unity and WebXR workflows, Spatial SDK and Platform SDK integration, store submission checks, and metavr device workflows.
React Native mobile development with platform-specific optimizations
Elite Android development skills - ADB mastery, fastboot sorcery, ROM building, and LineageOS development