谷歌加载GDK玻璃样品 [英] Loading Google Glass GDK sample

查看:183
本文介绍了谷歌加载GDK玻璃样品的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须加载谷歌玻璃GDK样品(北斗问题,秒表,或定时器),以我的谷歌玻璃。我使用Eclipse这一点。在控制台,它让我成功的消息

I have a problem to load Google Glass GDK sample (Compass, Stopwatch, or Timer) to my google-glass. I use Eclipse for this. In the console, it shows me successful message

[2014年4月20日19时42分56秒 - 指南针]安装Compass.apk ... [2014年4月20日
  19时42分58秒 - 指南针]成功! [2014年4月20日19时42分58秒 - 指南针]
  安装/Compass/bin/Compass.apk设备上[2014年4月20日19时42分58秒 -
  指南针]完成!

[2014-04-20 19:42:56 - Compass] Installing Compass.apk... [2014-04-20 19:42:58 - Compass] Success! [2014-04-20 19:42:58 - Compass] /Compass/bin/Compass.apk installed on device [2014-04-20 19:42:58 - Compass] Done!

<一个href=\"http://stackoverflow.com/questions/20949392/how-to-run-a-google-glass-gdk-sample-on-the-device?rq=1\">This帖子建议我使用语音触发启动服务(例如:OK玻璃,显示指南针)。但它不为我工作。
我也尝试从另一个建议<一href=\"http://stackoverflow.com/questions/20949392/how-to-run-a-google-glass-gdk-sample-on-the-device?rq=1\">different帖子去运行/调试配置,以明确指定要运行的活动。但对我来说,在Android的选项卡上的启动选项并没有给我任何选择。

This post suggests I use a voice trigger to activate the service (e.g.: "ok glass, show a compass"). But it doesn't work for me. I also tried another suggestion from different post to go to Run/ Debug configuration to specify exactly which activity to run. But in my case, the "Launch" option under "Android" Tab doesn't give me any selection.

我的谷歌眼镜的版本是目前XE12.1

My google glass version is currently XE12.1

感谢您预先的帮助!

推荐答案

如果您使用的是样本项目是从Android SDK API级别19个样本文件夹或的 Github上,那么这些项目已更新,XE16工作,不能在工作XE12.X.

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.

您需要使用上XE12.X API级别15文件夹下的样品。

You'll need to use the samples under the API Level 15 folder on XE12.X.

或者,更新您的玻璃,以XE16,然后最新的样品版本应该为你工作。

Or, update your Glass to XE16, and then the most recent version of the samples should work for you.

样本项目的所有版本都通过语音命令(例如,OK玻璃,显示指南针)激活。

All versions of sample projects are activated by voice command (e.g., "ok glass, show a compass").

这篇关于谷歌加载GDK玻璃样品的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆