Android的录音接听和拨打电话 [英] Android Recording Incoming and Outgoing Calls

查看:225
本文介绍了Android的录音接听和拨打电话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道有没有办法,我可以记录通话传入和传出的Andr​​oid手机2.2及以上?

I am trying to understand is there a way I can record calls incoming and outgoing on android phones 2.2 and above ?

一个客户机希望记录它们对客户端,以便它可以在以后用于填写一些材料的代理呼叫。而不是让客户等待,而在通话,他们想这样做以后。

A client wants to record calls of the agents they make to the clients so that it can be later used to fill out some material. Instead of making the client wait while on call they want to do it later on.

我想知道这是可能的,我需要用什么样的API。

I would like to know if this is possible and what api's do I need to use.

感谢你。

推荐答案

首先,你必须是有根据国家法律规定,以小心录音电话。

First off, you have to be careful with recording calls as there are legal requirements depending on the country.

下面是一个博客帖子如何使用的MediaRecorder

Here is a blog post on how to record audio using the MediaRecorder.

我还没有试过录音电话的,但有一个选项<一href="http://developer.android.com/reference/android/media/MediaRecorder.AudioSource.html">MediaRecorder AudioSource 为:

I haven't tried recording phone call's but there is a option in MediaRecorder AudioSource for:

  • VOICE_CALL - 语音通话上行+下行音源
  • VOICE_DOWNLINK - 语音电话下行(接收)音频信号源
  • VOICE_UPLINK - 语音电话上行(TX)音频信号源

只要音源的选择工作,你应该是好去。

As long as the audio source options work, you should be good to go.

这篇关于Android的录音接听和拨打电话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆