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

后端 未结 4 1005
深忆病人
深忆病人 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:53

    In addition to use voice trigger or touch menu to launch, you can also use adb command to launch the service, this will save some time, because it gets kind of old to manually navigate to launch the app.

    adb shell am startservice com.google.android.glass.compass/com.google.android.glass.sample.compass.CompassService 
    adb shell am startservice com.google.android.glass.timer/com.google.android.glass.sample.timer.TimerService
    adb shell am startservice com.google.android.glass.stopwatch/com.google.android.glass.sample.stopwatch.StopwatchService: 
    

    or

    adb shell am startservice 
    adb shell am start 
    

提交回复
热议问题