user1780366
user1780366

Reputation:

How to implement voice command based navigation in Android

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.

Upvotes: 1

Views: 979

Answers (1)

sinisha
sinisha

Reputation: 1013

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.

Upvotes: 1

Related Questions