문제

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 ?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top