Android Open Source - Example sample gdk-compass-sample






Project Summary

Simple GDK example acting as a compass. In addition to the visual display, you can tap the touchpad to have Glass speak your current orientation aloud..

Web Site / Source Repository

gdk-compass-sample is hosted in the following web site
https://github.com/googleglass/gdk-compass-sample

If you think the Android project gdk-compass-sample listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Project Detail

The following table is the detailed list of gdk-compass-sample.

ItemValue
Java File Count8
Supported screen sizes[hdpi]
Target SDK Version19
Minimum SDK Version19
Activity Count1
Required Permissionsandroid.permission.ACCESS_FINE_LOCATION
Raw File Namesres\raw\landmarks.json




License

The license information of gdk-compass-sample is as follows:

Apache License

Resource Files

There are 3 image files in gdk-compass-sample. The names of the image files are listed as follows.

ic_compass.png
ic_read_aloud.png
ic_stop_this.png

The following screenshort is generated from the image listed above.

null

Java Source Files

com.google.android.glass.sample.compass.CompassMenuActivity.java
com.google.android.glass.sample.compass.CompassRenderer.java
com.google.android.glass.sample.compass.CompassService.java
com.google.android.glass.sample.compass.CompassView.java
com.google.android.glass.sample.compass.OrientationManager.java
com.google.android.glass.sample.compass.model.Landmarks.java
com.google.android.glass.sample.compass.model.Place.java
com.google.android.glass.sample.compass.util.MathUtils.java