For my Developer Skill Sprint I was originally scheduled to show how to do a Google Glass Voice Trigger. That is pretty cool because it allows you to launch a Google Glass app with your voice, but I decided to expand on that to also show how the Google Glass app can be launched with the results of additional voice input, as well as how to take dictation and do text to speech everywhere else in Android.
- Slides (SlideShare)
- Demo and Components (GitHub)
I’ve still got a lot of work to do on the components, but they work as is for now. If you want to modify the component code then take a look at my Skill Sprint and blog post on the Android JNI Bridge.
14 replies on “Skill Sprint: Android Voice – Speech Recognition and TTS”
[…] Head over and checkout the full blog post about speech recognition and text to speech on Android inc… […]
result := FParent.ftts.setLanguage(TJLocale.JavaClass.CHINA); When choosing this language, the input character cannot be read.
It might not be supported. You will need to experiment with it.
[…] 9 I revisited adding voice support to Android apps. There are some updates from my previous skill sprint coverage on the topic and my original post on launching Google Glass apps via […]
Dear Mr. McKeeth,
I would like to ask you , does this component can be activated without pushing any button and be always in a standby mode that when it starts to hear a command to recognize it?
In a way to be always on a mode that always listens to what the user will say? And if that is possible can the app do parallel jobs?
The way the component is currently written doesn’t support running all the time, but the API does. You will need to dive into the API and make some changes to do that.
Don’t think you can do parallel jobs though.
hello Jim. Where can I get “AndroidWearViews” as your speech example will not work without it.
Adrian you can remove that reference if you are not deploying to an Android Wear device.
Correction, the library is named AndroidWearComponent
You don’t need it, but if you want it, you can find it here: https://github.com/jimmckeeth/FireUI-Devices
I’ll update the project to not reference it.
I did Jim, and I still get errors ( that ) I am currently looking into. Thanks for your help
How i can change the default language to french ? i tried ‘fr-FRA’ and ‘fr-rFR’ in the device i get message ‘ it’s impossible to make communication with Google in this moment’.
Thanks for your help.
how to use speech recognition on windows Application
Hi there Jim
Thank you for your components installed perfectly
just one question in the speech Recognition Demo the phone can talk the text but when you go to listen button the microphone pops up and you can say a few words now my question is what happens after you say a few words in my case nothing happens after that
seeing i’m nearly 70 I may have missed something
your help would be appreciated many thanks in advance