Offline speech recognition on Android Wear
I am using RecognizerIntent
an Android Wear app that I am developing to receive Free-Form speech input.
It works great when my phone is online. However, when I turn off the internet connection on the phone, the Watch is able to recognize speech, and the correct text is displayed in the intent during processing, but afterwards it says "Didn't catch this."
I also tried to implement the interface RecognitionListener
and I had the same problem.
In some of the tutorials I've tried, use:
- Recognizer interfaceListener
- Voice Tutorial
I have the respective language packs downloaded on my phone. How can I resolve this issue and fix the offline issue on my wearable device?
Thank.
Speech recognition requires access to Google servers, so it won't work without a valid Internet connection. On Android, you can download languages ββfor offline use (Settings). I'm not sure if this works with Wear though.