Question

I'm building a Google Glass app. I have tried to catch the user voice trigger (aka "OK Glass") in one of my immersions, but found no way. I have tried listener, intent-filter - but non of them was triggered. I know it can be done in static and live cards. Is it possible in immersions as well? using gdk ?

Était-ce utile?

La solution

Contextual voice commands are not yet supported by the GDK. There is a feature request that you can follow here: https://code.google.com/p/google-glass-api/issues/detail?id=273

However, the necessary features are already available in some libraries and you can use them as long as the GDK doesn't support this natively. I've described the necessary steps to extract and use the library in this answer: Glass voice command nearest match from given list

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top