开发者

audio recording

开发者 https://www.devze.com 2023-01-11 20:43 出处:网络
Is it possible for audio recording in emulator and store it not in sdk but s开发者_开发技巧ome where elseYes You can record the audio with Emulator. But for that you have to give the hardware ability

Is it possible for audio recording in emulator and store it not in sdk but s开发者_开发技巧ome where else


Yes You can record the audio with Emulator. But for that you have to give the hardware ability to record the audio in to the avd hardware setting.

See the below image of the avd properties from avd manager.

audio recording

Here, from the avd manager you can add the hardware cability with the whatever you want but it will work only if you have attached hardware with that.

So for recording of sound if you have attached the MIC then only it will work. Otherwise it will raise error or exception that hardware not found.

Enjoy. :))


No, you cannot record audio using the emulator. http://developer.android.com/guide/topics/media/index.html "Note that the emulator doesn't have hardware to capture audio or video, but actual mobile devices are likely to provide these capabilities, accessible through the MediaRecorder class"

0

精彩评论

暂无评论...
验证码 换一张
取 消