March 15, 2023 Update
As of March 15, 2023, we will no longer sell Glass Enterprise Edition. We will continue supporting Glass Enterprise Edition until September 15, 2023. This repository has been archived and remains as a historical reference for developers who actively maintain apps built for Glass Enterprise Edition. For more information, visit the Glass Enterprise developers site and Help Center.
Glass Samples
This repository contains sample code for Google Glass Enterprise Edition 2 (EE2). This repository is provided for example purposes only.
Getting The Code
Get started by downloading the code:
$ git clone https://github.com/googlesamples/glass-enterprise-samples
Then use Android Studio to build & run the samples.
Available Samples
- Card Sample: A simple Glass application showcasing typical layouts and UI patterns.
- Camera2 Sample: Take photos and videos using the Camera2 API.
- Gallery Sample: Browse and delete photos and videos.
- Gesture Detector: Respond to gesture events on the touchpad.
- Notes Sample: Use voice commands & voice recognition to record notes on Glass.
- QR Code Sample: Scan QR codes with the camera.
- Gesture Detector: Respond to gesture events on the touchpad.
- Voice Recognition Sample: Embed voice transcription in your apps.
- WebRTC Sample: A video conferencing app based on the open source WebRTC Android example.
Hardware profile
Import this example hardware profile into Android Virtual Device Manager to make your emulator more like the display on Glass.
Contributing
Contributions to these samples are always welcome and highly encouraged.
See the CONTRIBUTING documentation for more information on how to get started.
Reporting Issues & Support
You can report bugs related to this sample code using the issue tracker. If you have an issue with your Google Glass device, contact Google Glass Support.
License
See LICENSE for the specific language governing permissions and limitations under the License. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
This repository is distributed on an "AS IS" BASIS WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, and is not part of any Google Glass product offerings.
Copyright 2019 Google LLC