I am creating an app which is able to record surround sound in background and I follow all the states of Media Recorder which work fine on some devices but throw following exception on some devices too.
06-19 18:21:35.658: E/MediaRecorder(7439): start failed: -38
06-19 18:21:35.658: W/System.err(7439): java.lang.IllegalStateException
06-19 18:21:35.658: W/System.err(7439): at android.media.MediaRecorder.start(Native Method)
I search that but found nothing for this error code. Can somebody tell me what is the meaning of this error code and how to resolve that.
I know it might be a duplicate one android: media recorder : start failed: -38 but no help on that post too.
This demo works on Samsung Nexus and Nexus 4 but continuously crashing on Samsung S II. Thanks