How do you enable a microphone input in the android emulator

后端 未结 4 720
礼貌的吻别
礼貌的吻别 2020-12-20 11:05

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 Voic

相关标签:
4条回答
  • 2020-12-20 11:33

    To On/Off the microphone of emulator, write the command in terminal of android studio.

    for On microphone : adb emu avd hostmicon

    for Off microphone: adb emu avd hostmicoff

    0 讨论(0)
  • 2020-12-20 11:40

    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.

    0 讨论(0)
  • 2020-12-20 11:43

    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...

    0 讨论(0)
  • 2020-12-20 11:47

    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...

    0 讨论(0)
提交回复
热议问题