this problem causing by this Audio source
recorder.setAudioSource(MediaRecorder.AudioSource.VOICE_CALL);
not working on your device and android! change that to
recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
or other sources.
also you can remove FC by change recorderstart() to try/catch with IllegalStateException,Exception same as this
try {
recorder.prepare();
} catch (IllegalStateException e) {
// TODO Auto-generated catch block
Log.d("ERROR ","IllegalStateException");
} catch (Exception e) {
// TODO Auto-generated catch block
Log.d("ERROR ","IOException");
e.printStackTrace();
}
try {
recorder.start();
} catch (Exception e) {
}
i had this problem my self,this is working great for call recording but having problem with receiver voice quality is very low if you find solution of this tel me too.