本文介绍了如何在Android中记录通话?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是Android世界的新手.我必须使用我的应用程序在android手机中记录通话.我不知道在android中的通话录音.请帮助我提出与此相关的任何想法.

谢谢....

Hi,

I am new in the world of Android. I have to record calls in android phones using my application. I have no idea about call recording in android. Please help me with any ideas connecting with this.

Thank you....

推荐答案

    final MediaRecorder Callrecorder = new MediaRecorder();

    Callrecorder.setAudioSource(MediaRecorder.AudioSource.VOICE_CALL);
    Callrecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
    Callrecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
    Callrecorder.setOutputFile(recordPath);
    Callrecorder.prepare();
    Callrecorder.start();
... do something else
    Callrecorder.stop();



这应该对您的想法有所帮助.

/Darren



This should help you with the idea.

/Darren


这篇关于如何在Android中记录通话?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-23 14:56