Skip to content Skip to sidebar Skip to footer

Android Audiorecord Fails To Initialize

I've been having an issue with using AudioRecord for Android. I've read as much as I can find online about it, but I cannot seem to get a good initialization. I have tried the Andr

Solution 1:

I think he means you need the RECORD_AUDIO permission in the manifest:

<uses-permissionandroid:name="android.permission.RECORD_AUDIO" />

That worked for me.

Solution 2:

--edit--

Please see Bill's answer.

--end edit--

Maybe you should check whether you acquired the correct permission. e.g. you need to get android.permission.VIBRATE in your AndroidManifest.xml file if you need to vibrate the device.

Post a Comment for "Android Audiorecord Fails To Initialize"