Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android 2.2: Where is the option for speech input in the emulator?

My Nexus One has it:

  1. Settings includes a "Voice recognizer settings" in the list of "Voice input & output settings".
  2. Google Search has a microphone button next to it, so when I touch it, a dialog prompts me to say what I want to search.

On the emulator (API level 8, Android 2.2) however, any of the above is nowhere to be found.

Isn't voice search part of Android 2.2? If so, why is it found on my Nexus One (Froyo) but not on the emulator?

What do I need to do to make at least the "Voice input & output settings" available?

Update 1: I followed the instructions for creating the recognizer-enabled AVD as suggested below, but I still receive the "Recognizer no present" message:

enter image description here

What else do I need to do?

Is it possible that despite installing Google APIs by Google Inc., Android API 8, revision 2 and creating a special AVD with it, I still need to install the Voice Search app from the Android Market?

Update 2: I followed Michael's correction to install Google's Voice Search app. This solved the "Recognizer no present" problem but now I am presented with a new problem:

enter image description here

The app's suggestion "Speak again" is bogus: Speaking again presents the same error message over and over again.

like image 606
srf Avatar asked Oct 12 '22 10:10

srf


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.

I thought that including the Google APIs in your emulator target image would work, but it appears that I was mistaken. I thought you needed to build the target to include "Google APIs" since this capability is not core android, but an additional Google feature.

enter image description here

like image 133
Michael Levy Avatar answered Oct 18 '22 01:10

Michael Levy