9

有没有办法将“ok, glass”触发器插入到 Glass 上的沉浸式活动中?我想让我的应用程序的启动尽可能无缝和快速。制作沉浸式应用程序似乎是一种方式,但我无法找到一种方法来在我的活动中调出“好的,玻璃”页脚触发器来启动我的应用程序菜单以免提导航。关于这是如何工作的任何线索?

注意:我有一个语音触发器可以从 Glass 主屏幕启动应用程序。

我没有创建卡片,而只是使用 XML 布局,因为我正在使用 AsyncTask 将屏幕上的文本动态更改为用户交互。任何建议都会很棒。

4

2 回答 2

6

Contextual voice commands are not yet supported by the platform, feel free to file a feature request in our issues tracker.

UPDATE: as mentioned in the comments and the other answer, contextual voice commands are now part of the platform for Immersion: https://developers.google.com/glass/develop/gdk/voice#contextual_voice_commands

于 2013-11-22T00:22:28.327 回答
5

从 XE18.1 和 GDK Preview 19 开始,GDK 中提供了上下文语音命令。文档可在https://developers.google.com/glass/develop/gdk/voice获得。

于 2014-06-20T17:57:19.130 回答