JuL1205 / gdk-timer-sample

Timer sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Timer sample

License:Apache License 2.0