GDK Samples

  • The GDK samples are available on GitHub and can be easily imported into Android Studio using the GDK add-on.

  • The Charades game sample demonstrates building an immersion with gesture detectors, voice commands, and custom UI widgets.

  • The Compass sample illustrates how to use low-level sensors on Glass.

  • The Stopwatch and Timer samples show how to create Android services to render live cards on Glass.

These samples show you how to use features GDK. In addition to GitHub, the GDK samples are provided in the GDK add-on for easy importing into Android Studio.

Charades game

This sample shows you how to build an immersion and uses gesture detectors, voice commands, and custom UI widgets.

Get it on GitHub

Compass

This sample shows you how to use some low-level sensors on Glass.

Get it on GitHub

Stopwatch

This sample shows you how to create an Android service to render a live card on Glass.

Get it on GitHub

Timer

This sample shows you how to create an Android service to render a live card on Glass and how to use a CardScrollView

Get it on GitHub