Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Audio Input on Android Emulator

How can one get audio input on the Android Emulator? I'm using the 2.2 SDK, and emulating on Ubuntu 10.10.

I have the hw.audioinput property set to yes on my emulator, but I get the message "Recognizer not present" when I run the Voice Recognition API demo app on the emulator. On my phone, of course, it works fine.

I'm trying to use the speech input stuff from the SDK as mentioned here: http://developer.android.com/resources/articles/speech-input.html. They don't mention a thing about getting it to work on the emulator.

I've seen postings all over the forums about this with little to no sure solutions or successes. You know how it goes with forums. That's why I'm posting this question to StackOverflow; hopefully we can get one clear-cut answer!

like image 545
Tyler Collier Avatar asked Oct 29 '10 19:10

Tyler Collier


People also ask

How do you use mic on emulator?

To On/Off the microphone of emulator, write the command in terminal of android studio. Show activity on this post. hi try by enabling the audio recording support while creating the virtual device in emulator... While creating device go to hardware part and select new button.

How do I change the input sound on my Android?

Tap the small button at the top right of the player notification tile. In the media player pop-up, you'll see a list of connected audio devices. Tap the one you want to switch to.

What is audio input?

Audio input usually comes from the built-in mic, an external mic, or an audio interface attached to the device. Audio input can also come from a phone conversation. Sometimes two or more apps might both want to "capture" the same audio input. They may be performing different tasks.


1 Answers

Voice Recognition is handled with an application. The emulator doesn't come with this .apk pre-installed. If you can get Voice.apk from your device and install it in your emulator you might then have it. Check out this post also:

how voice recognition in android works?

like image 120
Dave MacLean Avatar answered Oct 16 '22 08:10

Dave MacLean