Hi,
I have been doing call recording it is working fine, but on some android
phone one of them is Samsung S2 with o/s 2.3.6
has been giving abnormal behaviour.
This is my code snap
//mediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);//
working for this.
mediaRecorder.setAudioSource(MediaRecorder.AudioSource.VOICE_CALL);//
infinite loop on .start().
mediaRecorder.setOutputFormat(audioformat);
mediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.DEFAULT);
mediaRecorder.setOutputFile("my file path");
mediaRecorder.prepare();
Log.d(TAG, "Before .start() method");
mediaRecorder.start();
Log.d(TAG, "After .start() method");
with AudioSource VOICE_CALL (value 4), mediaRecorder.start(); is neither
executing nor throwing exception.
in my log, I am able to see only Before .start() method., neither below one
nor catch() logs.
Can any one help me to short out problem? is there any trick that I have
been missing?
Regards
Imran Ali
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en