Skill Sprint: Android Voice – Speech Recognition and TTS

Androids can talk and listen!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.

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.


This entry was posted in Android, Mobile, Source Code, Tools, webinar. Bookmark the permalink.

13 Responses to Skill Sprint: Android Voice – Speech Recognition and TTS

  1. Pingback: Build Speech Recognition And Text To Speech Into Your Delphi XE6 Firemonkey Apps On Android | Delphi XE5 XE6 Firemonkey, Delphi Android, Delphi IOS

  2. wuxuli66 says:

    result := FParent.ftts.setLanguage(TJLocale.JavaClass.CHINA); When choosing this language, the input character cannot be read.

  3. Jim McKeeth says:

    It might not be supported. You will need to experiment with it.

  4. Pingback: Voice Enable Your Android Apps | The Podcast at

  5. 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?

  6. Jim McKeeth says:

    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.

  7. Adrian Gall says:

    hello Jim. Where can I get “AndroidWearViews” as your speech example will not work without it.

  8. Jim McKeeth says:

    Adrian you can remove that reference if you are not deploying to an Android Wear device.

  9. Adrian Gall says:

    Correction, the library is named AndroidWearComponent

  10. Jim McKeeth says:

    You don’t need it, but if you want it, you can find it here:
    I’ll update the project to not reference it.

  11. Adrian Gall says:

    I did Jim, and I still get errors ( that ) I am currently looking into. Thanks for your help

  12. Choukri says:

    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.

  13. Abdennour Adouani says:

    how to use speech recognition on windows Application

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.