1
votes

I am thinking about making an app that I can use to control my Arduino robot (over bluetooth/wifi) using voice commands. But to make the experience fluid, I will need the Android app speech recognition to be continuously running. If I want the robot to stop, I don't want to press a button, wait for the speech recognition dialog to appear, say my command "STOP", release the button, wait for the parser to parse it, and then send the stop command.

I would rather just have the Speech to Text in continuous listen mode when I am controlling my robot. And when it hears keywords, it sends them.

Can I do this in Android? I did some googling, and I found the recognizer intent, but all of the examples I found use a button trigger and pretty much followed the scenario I described above.

1

1 Answers

0
votes

It can be done. Look at this link. It has also some example code :) You can make it listen and when it speeches you get the word see if it is a keyword and then make the robot do as you want. http://viralpatel.net/blogs/android-speech-to-text-api/