Loading Google Glass Gdk Sample
Solution 1:
If the sample projects you are using are from the Android SDK API Level 19 samples folder, or Github, then these projects have been updated to work with XE16 and won't work on XE12.X.
You'll need to use the samples under the API Level 15 folder on XE12.X.
Or, update your Glass to XE16, and then the most recent version of the samples should work for you.
All versions of sample projects are activated by voice command (e.g., "ok glass, show a compass").
Solution 2:
Use this adb command from the command line on a PC or Terminal on a mac:
adb shell am start -n com.google.android.glass.sample.compass/com.google.android.glass.sample.compass.CompassMenuActivity
While Glass is ADB connected and is the only ADB device connected.
This should launch the Compass activity for you on XE12.
I got the package name and activity name from here:
https://github.com/googleglass/gdk-compass-sample/blob/master/AndroidManifest.xml
Perhaps if you are using different code, you'll need to tweak the adb shell command.
Post a Comment for "Loading Google Glass Gdk Sample"