Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Accessing continuous voice recognition in Android 4.0

I am trying to get continuous voice input to work in my Android application. I tried using the built-in SpeechRecognizer Intent but it waits for the user to finish speaking before processing the words. This is not sufficient for me. I need the device to process the words while the user is still speaking.

I read that this is supported in Ice Cream Sandwich now. However, I did not find any API that allows me to access this feature. Does anyone know how this works now?

Thanks for your help!

like image 920
user1126657 Avatar asked Jan 24 '26 12:01

user1126657


1 Answers

I guess you heard about the new voice typing feature of Android 4.0. Take a look at this article.

You have to use an external library for it. Though the article says the library is designed for IME developers, and as I see the result of voice recognition will appear in a registered IME through InputMethodService. You can also check the source of the library, because it is a project on Google Code

like image 142
dmaxi Avatar answered Jan 26 '26 01:01

dmaxi