Reputation: 1199
I want to record call from android phone. I am using android.media.MediaRecorder pckg.
Also used following code:
mrec.setAudioSource(MediaRecorder.AudioSource.VOICE_CALL);
mrec.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
mrec.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
But I didn't succeed in recording an incoming call. Can anyone recommend a tested code snippet?
Also, Is this true? http://groups.google.com/group/android-developers/browse_thread/thread/c2bc85eb60ae2aa5?pli=1 http://code.google.com/p/android/issues/detail?id=2117#c226
Upvotes: 9
Views: 11310
Reputation: 18068
Standard distributions of Android does not support it till now.
You can vote up these if you want:
http://code.google.com/p/android/issues/detail?id=4075
http://code.google.com/p/android/issues/detail?id=2117
Upvotes: 7
Reputation: 5403
It's not a software problem and I don't think the baseband firmware vendors will fix this. Most likely because it's illegal in most western countries to record calls without consent of the other person.
Upvotes: 0