奥利奥更新后呼叫记录器不工作 [英] Call Recorder Not Working After Oreo Update

查看:93
本文介绍了奥利奥更新后呼叫记录器不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我当时正在用牛轧糖进行通话录音,但是由于oréo,它不再起作用了.

I was working on call recording with nougat but since oréo, it's not working anymore.

我正在使用MediaRecorder进行录制.它可以在其他版本的android上运行.

I am using MediaRecorder for recording.It is working on other versions of android.

我尝试了许多其他尝试,但没有成功.

I've tried many others, but no success.

所以我需要知道是否有人成功使用Oreo制作了这种类型的应用程序,如果可以,该怎么做?

so i need to know if someone has been successful made this type of application with Oreo, if so, how to do this?

推荐答案

Android 6棉花糖不允许通话录音. 围绕根目录需求的本机代码中存在一个变通方法,该变通方法一直运行到Android 8.1.

Call recording is not allowed from Android 6 Marshmallow. There was a workaround in native code around the root requirement, which worked until Android 8.1.

此问题已在Android 9 Pie中进行了修补,由于此版本无法再进行录音通话了.您可以从ACR(Android上最流行的通话记录器)开发人员那里找到详细的说明

This was patched in Android 9 Pie, and since this version recording calls is not possible anymore. You can find a detailed explanation from the developer of ACR (the most popular call recorder for Android) here.

对于Android 6-7-8解决方法,您可以在此处(示例)中查看示例实现基本上使用本机C ++代码绕过Java中的检查.

For the Android 6-7-8 workaround, you can check an example implementation here (it basically uses native C++ code to bypass the check done in Java).

这篇关于奥利奥更新后呼叫记录器不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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