Using Android Speech Recognition APIs from Google Glass

家住魔仙堡 提交于 2019-11-28 17:59:21

To use the standard android speech recognition you have to install/deploy the com.google.android.voicesearch apk package.

I don't know if there is an official way to get this. I just googled the apk file.

Just install it by using adb install < apk-file >

Then you should be able to use the voice recognition feature of android on your glass device.


Another way is to use the very cool features of google glass, e.g. to just say "okay glass" to activate the voice recognition.

But therefore you have to root your device and activate this so called lab-feature.

This side is a good starting point for the activation of lab features: glassxe

I have not tried it by myself but I am going to.

It should be noted that now RecognizerIntent.ACTION_RECOGNIZE_SPEECH just works on Glass and does not require the com.google.android.voicesearch package. If you have installed it, you should uninstall it and use the built-in support.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!