是否有可能通过Android应用程序记录电话? [英] Is it possible to record phone calls via an Android App?

查看:120
本文介绍了是否有可能通过Android应用程序记录电话?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一个开发商寻求建立一个Android应用程序记录电话。这催生出我自己的个人需要记录电话为我自己的目的和我的记录。

I'm a developer looking to create an Android application to record phone calls. This spawned out of my own personal need to record phone calls for my own purposes and for my records.

是否有可能这样做吗?是否有可能获得对麦克风的访问,什么是通过扬声器来了吗?

Is it possible to do this? Is it possible to get access to the microphone and what's coming through the speaker?

我是一种新的Andr​​oid开发,所以忍耐:)我想,我大概可以录制成WAV,然后在通话结束时,跨code成MP3使用LAME什么的。这可能会杀了电池,但是这似乎是一个很好的项目,我习惯用的Andr​​oid。我期待使用Android 2.X中

I'm kind of new to Android development, so bear with me :) I assume that I could probably record into WAV and then at the end of the call, transcode it into MP3 using LAME or something. This may kill the battery, but this seems like a good project for me to get used to Android with. I'm looking to use Android 2.X.

推荐答案

简短的答案是否定的。该电话协议栈是相当严格的应用程序开发人员,部分是出于安全考虑。

The short answer is no. The telephony stack is fairly restrictive to application developers, partly for security reasons.

您可能会写自己的手机应用,也许是基于关闭的默认的,包括必要的钩子拦截音频流。

You might be to write your own "Phone app", perhaps based off the default one, and include the necessary hooks to intercept the audio streams.

不过,这将是一个非常困难的项目,如果你是新的Andr​​oid开发。我建议尝试一些其他的项目首先,寻找到电话的东西了。

However, this would be an extremely difficult project if you are new to Android development. I would suggest trying out some other projects first, before looking into the telephony stuff.

这篇关于是否有可能通过Android应用程序记录电话?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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