I am wondering how do you make an App like Utter or Siri. Not as sophisticated but something that allows me to get vocal input from a user and respond with an updated UI and vocal confirmation. For example : How much did I spend for my phone? The app will answer " the Nexus 5 or the Samsung S4?" (let's say it has a list of all my smartphones) After my answer, it will display the price in the UI with a vocal confirmation.
Now, I have seen that it is possible with Android M but it's going to be a while before the majority of devices update to Android M. And I want a solution that is backward compatible.
Any thoughts of the tools needed ?
Thanks,
There's been an Android API for doing this for a long time. This is old code but I think it should work. It launches the google voice recognition dialog through an intent.
Useful links: http://android-developers.blogspot.com.es/2010/03/speech-input-api-for-android.html http://www.jameselsey.co.uk/blogs/techblog/android-how-to-implement-voice-recognition-a-nice-easy-tutorial/