问题
I was working on call recording with nougat but since oréo, it's not working anymore.
I am using MediaRecorder for recording.It is working on other versions of android.
I've tried many others, but no success.
so i need to know if someone has been successful made this type of application with Oreo, if so, how to do this?
回答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.
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.
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).
来源:https://stackoverflow.com/questions/52714618/call-recorder-not-working-after-oreo-update