Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can you make the android emulator support speech recognition

I am writing an app which uses android's speech recognition. However my app doesnt run well on the emulator - runs fine on the mobile itself however.

On the emulator I get a red error message through logcat which says:

05-06 20:19:38.527: ERROR/SpeechRecognizer(1745): no selected voice recognition service

Does anybody know how to enable an emulator to support speech recognition services?

Cheers,

like image 279
RenegadeAndy Avatar asked Oct 12 '22 03:10

RenegadeAndy


1 Answers

In your emulator image, can you install Google Voice Search as in Converting speech to text. The app is in the marketplace at https://market.android.com/details?id=com.google.android.voicesearch&feature=search_result. I think this is the only way to add the Recognizer Intent. Recognizer is not part of the base Android, it is considered an additional component that ships with Google Voice Search and is included in some phones.

But, people have still reported problems and suggest using a real device instead of the emulator. See Why is it impossible to use the Speech Recorder on the Android emulator?

like image 125
Michael Levy Avatar answered Oct 14 '22 07:10

Michael Levy