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.
- Connect to Meta AI glasses
- Stream camera feed from the device
- Capture photos from glasses
- Share captured photos
- 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)
- Clone this repository
- Open the project in Android Studio
- Add your personal access token (classic) to the
local.propertiesfile (see SDK for Android setup) - Click File > Sync Project with Gradle Files
- Click Run > Run... > app
- Turn 'Developer Mode' on in the Meta AI app.
- Launch the app.
- Press the "Connect" button to complete app registration.
- Once connected, the camera stream from the device will be displayed
- Use the on-screen controls to:
- Capture photos
- View and save captured photos
- Disconnect from the device
For issues related to the Meta Wearables Device Access Toolkit, please refer to the developer documentation or visit our discussions forum
This source code is licensed under the license found in the LICENSE file in the root directory of this source tree.