且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

是否可以通过 Android 应用程序记录电话?

更新时间:2022-06-25 23:24:23

简短的回答是否定的.电话堆栈对应用程序开发人员有相当大的限制,部分原因是出于安全原因.

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.

但是,如果您不熟悉 Android 开发,这将是一个极其困难的项目.我建议先尝试一些其他项目,然后再研究电话方面的内容.

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.