This sample inserts a live card to the left of the Glass clock that displays a timer. Tapping the live card presents a menu with options that are displayed according to the state of the timer:
- Set timer: set the time for the timer
- Start: start the timer
- Pause: pause the timer
- Resume: resume the timer
- Reset: reset the timer
- Change timer: change the time of the timer
- Stop: remove the timer from the timeline
Check out our documentation to learn how to get started on https://developers.google.com/glass/develop/gdk
You can use your IDE to compile and install the sample or use
adb
on the command line:
$ adb install -r TimerSample.apk
To start the sample, say "ok glass, start a timer" from the Glass clock screen or use the touch menu.