Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

Latest commit

 

History

History
30 lines (22 loc) · 879 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 879 Bytes

Timer

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

Getting started

Check out our documentation to learn how to get started on https://developers.google.com/glass/gdk/index

Running the sample on Glass

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.