Skip to content
Back to search

mwdat-android-marketplace

MarketplaceWorks with Claude CodeGitHub

Meta Wearables Device Access Toolkit for Android

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/facebook--meta-wearables-dat-android/badge.svg)](/listings/facebook--meta-wearables-dat-android)

HTML

<a href="/listings/facebook--meta-wearables-dat-android"><img src="/api/listings/facebook--meta-wearables-dat-android/badge.svg" alt="findsafeskills safety rating" /></a>

Install

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

.claude-plugin/marketplace.json · Manifest · 17 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. {
  2. "name": "mwdat-android-marketplace",
  3. "owner": {
  4. "name": "Meta Wearables"
  5. },
  6. "plugins": [
  7. {
  8. "name": "mwdat-android",
  9. "version": "1.0.1",
  10. "description": "Git-native DAT SDK guidance for android development, covering setup, camera streaming, display access, MockDeviceKit, session lifecycle, permissions, debugging, and sample app patterns.",
  11. "author": {
  12. "name": "Meta Wearables"
  13. },
  14. "source": "./plugins/mwdat-android"
  15. }
  16. ]
  17. }
README.md · README · 228 lines · 1 finding marked

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # Meta Wearables Device Access Toolkit for Android
  2. [![Maven Central](https://img.shields.io/maven-central/v/com.meta.wearable/mwdat-core?logo=apachemaven&color=brightgreen)](https://central.sonatype.com/namespace/com.meta.wearable)
  3. [![Docs](https://img.shields.io/badge/API_Reference-latest-blue?logo=meta)](https://wearables.developer.meta.com/docs/reference/android/dat/latest)
  4. The Meta Wearables Device Access Toolkit enables developers to utilize Meta's AI glasses to build hands-free wearable experiences into their mobile applications.
  5. By integrating this SDK, developers can reliably connect to Meta's AI glasses and leverage capabilities like video and audio streaming and photo capture.
  6. The Wearables Device Access Toolkit is in developer preview.
  7. Developers can access our SDK and documentation, test on supported AI glasses, and create organizations and release channels to share with test users.
  8. ## Documentation & Community
  9. Find our full [developer documentation](https://wearables.developer.meta.com/docs/develop/) on the Wearables Developer Center.
  10. You can find an overview of the Wearables Developer Center [here](https://wearables.developer.meta.com/).
  11. Create an account to stay informed of all updates, report bugs and register your organization.
  12. Set up a project and release channel to share your integration with test users.
  13. For help, discussion about best practices or to suggest feature ideas visit our [discussions forum](https://github.com/facebook/meta-wearables-dat-android/discussions).
  14. See the [changelog](CHANGELOG.md) for the latest updates.
  15. ## Including the SDK in your project
  16. The Wearables Device Access Toolkit is published to [Maven Central](https://central.sonatype.com) under the `com.meta.wearable` group, so no access token or extra repository definition is required.
  17. The `mavenCentral()` repository already declared in your `settings.gradle.kts` is all you need.
  18. ### 1. Declare the Wearables Device Access Toolkit artifacts in `libs.versions.toml`
  19. Check the available versions on the [artifact page](https://central.sonatype.com/artifact/com.meta.wearable/mwdat-core/versions).
  20. ```toml
  21. [versions]
  22. mwdat = "1.0.1"
  23. [libraries]
  24. mwdat-core = { group = "com.meta.wearable", name = "mwdat-core", version.ref = "mwdat" }
  25. mwdat-camera = { group = "com.meta.wearable", name = "mwdat-camera", version.ref = "mwdat" }
  26. mwdat-display = { group = "com.meta.wearable", name = "mwdat-display", version.ref = "mwdat" }
  27. mwdat-inputs = { group = "com.meta.wearable", name = "mwdat-inputs", version.ref = "mwdat" }
  28. mwdat-motion = { group = "com.meta.wearable", name = "mwdat-motion", version.ref = "mwdat" }
  29. mwdat-mockdevice = { group = "com.meta.wearable", name = "mwdat-mockdevice", version.ref = "mwdat" }
  30. mwdat-speech = { group = "com.meta.wearable", name = "mwdat-speech", version.ref = "mwdat" }
  31. ```
  32. ### 2. Add the required components as dependencies in your app's `build.gradle.kts`
  33. ```kotlin
  34. dependencies {
  35. implementation(libs.mwdat.core)
  36. implementation(libs.mwdat.camera)
  37. implementation(libs.mwdat.display)
  38. implementation(libs.mwdat.inputs)
  39. implementation(libs.mwdat.motion)
  40. implementation(libs.mwdat.mockdevice)
  41. implementation(libs.mwdat.speech)
  42. }
  43. ```
  44. ## Developer Terms
  45. - By using the Wearables Device Access Toolkit, you agree to our [Meta Wearables Developer Terms](https://wearables.developer.meta.com/terms),
  46. including our [Acceptable Use Policy](https://wearables.developer.meta.com/acceptable-use-policy).
  47. - By enabling Meta integrations, including through this SDK, Meta may collect information about how users' Meta devices communicate with your app.
  48. Meta will use this information collected in accordance with our [Privacy Policy](https://www.meta.com/legal/privacy-policy/).
  49. - You may limit Meta's access to data from users' devices by following the instructions below.
  50. ### Opting out of data collection
  51. To configure analytics settings in your Meta Wearables DAT Android app, add the following `<meta-data>` element to your
  52. app's `AndroidManifest.xml` file within the `<application>` element:
  53. ```xml
  54. <meta-data
  55. android:name="com.meta.wearable.mwdat.ANALYTICS_OPT_OUT"
  56. android:value="true"
  57. />
  58. ```
  59. **Default behavior:** If the `ANALYTICS_OPT_OUT` metadata is missing or set to `false`, analytics are enabled
  60. (i.e., you are **not** opting out). Set to `true` to disable data collection.
  61. **Note:** In other words, this setting controls whether or not you're opting out of analytics:
  62. - `true` = Opt out (analytics **disabled**)
  63. - `false` = Opt in (analytics **enabled**)
  64. **Complete example:**
  65. ```xml
  66. <application
  67. android:name=".MyApplication"
  68. android:label="MyApp"
  69. android:icon="@mipmap/app_launcher">
  70. <!-- Required: Your application ID from Wearables Developer Center -->
  71. <meta-data
  72. android:name="com.meta.wearable.mwdat.APPLICATION_ID"
  73. android:value="your_app_id_here"
  74. />
  75. <!-- Optional: Disable analytics -->
  76. <meta-data
  77. android:name="com.meta.wearable.mwdat.ANALYTICS_OPT_OUT"
  78. android:value="true"
  79. />
  80. <!-- Your activities and other components -->
  81. </application>
  82. ```
  83. ### Crash reporting
  84. The Wearables Device Access Toolkit can capture crashes originating from SDK code, store them locally,
  85. and chain with any existing uncaught-exception handler your app installs. Crash reporting is **enabled by
  86. default**.
  87. To opt out, add the following `<meta-data>` element to your app's `AndroidManifest.xml` file within the
  88. `<application>` element:
  89. ```xml
  90. <meta-data
  91. android:name="com.meta.wearable.mwdat.CRASH_REPORTING_OPT_OUT"
  92. android:value="true"
  93. />
  94. ```
  95. **Default behavior:** If the `CRASH_REPORTING_OPT_OUT` metadata is missing or set to `false`, crash
  96. reporting is **enabled**. Set it to `true` to disable SDK crash capture.
  97. ## AI-Assisted Development
  98. This repository ships one public DAT knowledge base as a single plugin, plus file-based artifacts for the tools that do not use plugins:
  99. | Tool | Public artifact | Recommended setup |
  100. |------|-----------------|-------------------|
  101. | [Muse Code](https://developer.meta.com/ai/products/muse-code/), [Claude Code](https://docs.anthropic.com/en/docs/claude-code), Codex | `plugins/mwdat-android/` | Add this GitHub repo as a marketplace, then install `mwdat-android` |
  102. | [GitHub Copilot](https://github.com/features/copilot) | `.github/copilot-instructions.md` | Auto-loaded by Copilot in VS Code |
  103. | [Cursor](https://cursor.sh/) | `.cursor/rules/*.mdc` | Auto-loaded with glob-based triggers |
  104. | AGENTS.md-compatible tools | `AGENTS.md` | Portable fallback for agents that read `AGENTS.md` |
  105. | MCP-compatible editors | `https://mcp.developer.meta.com/wearables` | Connect as a remote HTTP MCP server; no authentication required |
  106. Muse Code, Claude Code, and Codex install from the plugin payload under `plugins/`. Copilot, Cursor, and `AGENTS.md` readers use the native file-based artifacts at repo root.
  107. ### Muse Code
  108. ```bash
  109. muse plugins marketplace add mwdat-android-marketplace https://github.com/facebook/meta-wearables-dat-android
  110. muse plugins install mwdat-android@mwdat-android-marketplace
  111. muse plugins approve mwdat-android
  112. ```
  113. Or use the helper script:
  114. ```bash
  115. ./install-skills.sh muse
  116. ```
  117. Muse Code also reads `AGENTS.md` from your project root with no setup at all.
  118. ### Claude Code
  119. ```bash
  120. claude plugin marketplace add facebook/meta-wearables-dat-android
  121. claude plugin install mwdat-android@mwdat-android-marketplace
  122. ```
  123. Or use the helper script:
  124. ```bash
  125. ./install-skills.sh claude
  126. ```
  127. ### Codex
  128. ```bash
  129. codex plugin marketplace add facebook/meta-wearables-dat-android
  130. codex plugin add mwdat-android@mwdat-android-marketplace
  131. ```
  132. Or use the helper script:
  133. ```bash
  134. ./install-skills.sh codex
  135. ```
  136. ### Other tool installs
  137. Use the installer when you want the repo-native file surfaces for other tools:
  138. ```bash
  139. ./install-skills.sh copilot # .github/copilot-instructions.md
  140. ./install-skills.sh cursor # .cursor/rules/*.mdc
  141. ./install-skills.sh agents # AGENTS.md
  142. ./install-skills.sh all # Muse/Claude/Codex when available, plus Copilot/Cursor/AGENTS.md
  143. ```
  144. Or run the helper remotely:
  145. ```bash
  146. curl -sL https://raw.githubusercontent.com/facebook/meta-wearables-dat-android/main/install-skills.sh | bash
    • Note: Pipes a downloaded script directly into a shell (curl | sh / wget | bash)
    • Line 202 on GitHub
  147. ```
  148. ### What's included
  149. - **Getting started** — SDK setup, Gradle integration, manifest configuration
  150. - **Camera streaming** — Session and Stream setup, video frames, and in-stream photo capture
  151. - **Audio streaming** — Receive synchronized PCM audio through Camera Stream (experimental; unavailable for production publishing)
  152. - **Camera capture** — Capture standalone high-quality photos with progress and typed errors (experimental; unavailable for production publishing)
  153. - **Display** — Use Display features on the Meta Ray-Ban Display glasses
  154. - **Inputs** — Receive navigation, button, capture, and drag interactions from glasses
  155. - **Motion** — Stream accelerometer, gyroscope, magnetometer, and orientation samples with explicit lifecycle control
  156. - **Speech** — Recognize on-device speech, handle partial/final results, and test with MockDeviceKit
  157. - **Voice Invocations** — Launch or activate an app from Hey Meta and acknowledge each action
  158. - **MockDevice testing** — Test without physical glasses using MockDeviceKit
  159. - **DAT docs MCP** — Connect the hosted docs MCP server and search live DAT documentation with `search_dat_docs`
  160. - **Live debugging MCP** — Read-only runtime diagnosis from app-visible DAT debug events
  161. - **Session lifecycle** — Session and stream state, pause/resume behavior, and device availability monitoring
  162. - **Permissions & registration** — App registration with Meta AI and device permission flows
  163. - **Debugging** — Common issues, Developer Mode, version compatibility, and session and stream diagnosis
  164. - **Sample app guide** — Building a complete DAT app
  165. For static reference context, point your AI tool at the [llms.txt endpoint](https://wearables.developer.meta.com/llms.txt?full=true). Installing the plugin registers `https://mcp.developer.meta.com/wearables` for live documentation search in Muse Code, Claude Code, and Codex. Other MCP-compatible editors can connect to that endpoint directly and use `search_dat_docs`. The public docs MCP server does not require authentication; do not configure tokens, OAuth, or custom authorization headers for it.
  166. ## License
  167. See the [LICENSE](LICENSE) file.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.