Skip to content

Latest commit

 

History

History
 
 

README.md

Camera Access App

A sample Android application demonstrating integration with Meta Wearables Device Access Toolkit. This app showcases streaming video from Meta AI glasses, capturing photos, and managing connection states.

Features

  • Connect to Meta AI glasses
  • Stream camera feed from the device
  • Capture photos from glasses
  • Share captured photos

Prerequisites

  • Android Studio Arctic Fox (2021.3.1) or newer
  • JDK 11 or newer
  • Android SDK 31+ (Android 12.0+)
  • Meta Wearables Device Access Toolkit (included as a dependency)
  • A Meta AI glasses device for testing (optional for development)

Building the app

Using Android Studio

  1. Clone this repository
  2. Open the project in Android Studio
  3. Add your personal access token (classic) to the local.properties file (see SDK for Android setup)
  4. Click File > Sync Project with Gradle Files
  5. Click Run > Run... > app

Running the app

  1. Turn 'Developer Mode' on in the Meta AI app.
  2. Launch the app.
  3. Press the "Connect" button to complete app registration.
  4. Once connected, the camera stream from the device will be displayed
  5. Use the on-screen controls to:
    • Capture photos
    • View and save captured photos
    • Disconnect from the device

Troubleshooting

For issues related to the Meta Wearables Device Access Toolkit, please refer to the developer documentation or visit our discussions forum

License

This source code is licensed under the license found in the LICENSE file in the root directory of this source tree.