1

I have an application with sevaral screens. In each screen, there are several links. Suppose when the user say "settings", it should open the settings screen, and when the user say "select something" in the settings screen, it should select the respective one.

I have seen some tutorials using RecognizerIntent but the problem with that is that it will open "Speak Now" popup to listen to the voice command and it will trigger only when some event is fired. I would like to know whether it is possible or not, if possible how can implement it.

Tunaki
  • 132,869
  • 46
  • 340
  • 423
  • What is your question? Do you want to avoid user clicking some button to start recognition? – sinisha Jan 21 '13 at 11:05
  • yes...and also I would like to know whether is there possibility to not have a "Speak now" popup –  Jan 21 '13 at 11:40
  • check this link [Start activity based on voice command](http://stackoverflow.com/questions/11798337/how-to-voice-commands-into-an-android-application) It have a good tutorial on how to implement voice search. – Pragnani Jan 21 '13 at 10:53

1 Answers1

1

You could avoid "Speak now" popup by using SpeechRecognizer class but it demands more coding then using Intent. Because you want to start recognition when user start speaking you should use some voice activity detection algorithms and after voice activity is detected you then call startRecognition method.

Community
  • 1
  • 1
sinisha
  • 1,013
  • 13
  • 30