开发者

How to record call in android? Is it possible?

开发者 https://www.devze.com 2023-02-07 17:41 出处:网络
I want to record call from android phone. I am using android.media.MediaRecorder pckg. Also used following code:

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_t开发者_JAVA百科hread/thread/c2bc85eb60ae2aa5?pli=1 http://code.google.com/p/android/issues/detail?id=2117#c226


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消