How do you enable a microphone input in the androi

2019-01-27 12:45发布

I have been on a rough ride trying to do something using the Speech recognition on an android emulator.

Having finally installed the market place and the Google Voice Search app - I am so close to enabling my emulator to do what I want - recognize my speech. First I need to enable the emulator to record audio , or at least think that a microphone is present.

I believe adb used to have the -mic option - however I dont think it exists anymore.

Has anyone done this or can anyone shed some light on it.

3条回答
倾城 Initia
2楼-- · 2019-01-27 13:01

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. A dialog will appear in which select the property combo and select "Audio Recording Support" and give k and apply...

Hope it helps... Let me know the output of it...

查看更多
Summer. ? 凉城
3楼-- · 2019-01-27 13:10

What version of Android is your Emulator running? I've had similar issues with audio in general when I try to run an Emulator with Android 2.2, which had no sound at all on Windows 7 32-bit. Still haven't been able to fix it, but when I swapped to an Android 2.3 emulator, the sound automatically worked. Maybe you could try this...

查看更多
Evening l夕情丶
4楼-- · 2019-01-27 13:11

have you seen this tutorial? see the comment:

You guys are not able to record sound in emulator because the android emulator doesn’t support it yet. This code should only work on the phone.

查看更多
登录 后发表回答