This sample launches service that uses the IMU to determine the angle of your orientation. It uses this value to display a level, in the form of a horizontal line as a Live Card.
Check out our documentation to learn how to get started on https://developers.google.com/glass/develop/index
Running the sample on Glass
You can use your IDE to compile and install the sample or use
on the command line:
$ adb install -r LevelSample.apk
To start the sample, say "ok glass, show me a demo" from the Glass clock screen or use the touch menu.