i want to record incoming call i am using following code
MediaRecorder mr = new MediaRecorder();
 mr.setAudioSource(MediaRecorder.AudioSource.VOICE_CALL);
 mr.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
 mr.setMaxDuration(10000); 
 mr.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
 mr.setOutputFile(Environment.getExternalStorageDirectory()+"/"+"aa.3gp");
but it does not work.what to do???

-- 
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

Reply via email to