How to implement voice events?

I want to have voice action in my application. For example, when I want to add something to the list of favorites, then the usual way that we follow is to click a button, but here I want to start this task with a voice , for example, saying " Add to Favorites ", ..

Is it possible? If so, which libraries should we use to do this?

Please provide any appropriate hyperlink or suggest any github libraries associated with it, if any.

There is an example video http://vimeo.com/52775114

Yours faithfully,

+4
source share
2 answers

http://developer.android.com/reference/android/speech/RecognizerIntent.html

You can use the recognition feature, which recognizes voice data transmission as an array of strings. It does not require additional libraries, etc., In fact, it is incredibly easy to code. You begin the intention by pressing a button, etc., And it will listen and return an interpretation of what has been said.

+2
source

Yes it is possible. Android natively provides the Speech to Text API function to intimidate such a voice-enabled application. This tutorial will be a good start for you ..
Android Speech Converting Text

-1
source

All Articles