Running Timer, Stopwatch, and Compass example on Glass doesn't seem to work

后端 未结 4 996
深忆病人
深忆病人 2021-01-03 09:08

I ran the timer, stopwatch, and compass example here:

https://developers.google.com/glass/develop/gdk/quick-start#for_android_beginners

However, the applicat

4条回答
  •  时光取名叫无心
    2021-01-03 09:34

    Using the "Run as" menu in Eclipse will only install the APK on the device but won't run it, because none of the application components in the manifest have android.intent.category.LAUNCHER.

    Instead, after the APK is installed, you can use the voice trigger on Glass to start it. For example, say "ok glass, show a compass" for the Compass sample. This will start the CompassService service that publishes the live card to the timeline.

提交回复
热议问题