Using Android Speech Recognition APIs from Google Glass

后端 未结 2 765
广开言路
广开言路 2020-12-24 03:57

I\'m working to adapt an existing Android application to run on Google Glass, as a proof of concept. I would like to use voice input in my application to replace some featur

相关标签:
2条回答
  • 2020-12-24 04:09

    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.

    0 讨论(0)
  • 2020-12-24 04: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.

    0 讨论(0)
提交回复
热议问题