I was very tired when making a call recording application for Android. I know the official Android SDK has not allowed using VOICE_CALL. So my recording is based entirely on the MIC source. I tried the Android NDK but I also fell into a deadlock. Someone, please give me away. If you have the source code, it's great. Thank you very much!
Asked
Active
Viewed 1,589 times
1
-
Note that for a long time now (since API level 19?), recording voice calls has required a permission that only system apps can get. So what you're trying to do isn't really supported. Doesn't matter if you use the NDK or not. – Michael Mar 05 '19 at 12:42
-
I reading some one topic from stack. I known their sucessed when use NDK to create Call Recorder. But I was failed when create it. But I want to create it, so I will wait support from any one. – Hoàng Giang Mar 05 '19 at 12:45
-
@HoàngGiang any update on this? I am also looking for the call record using NDK – Sagar Jan 21 '20 at 08:47
-
No solution from now :(( – Hoàng Giang Jan 31 '20 at 09:03
2 Answers
3
Android has officially blocked the SDK method since Marshmallow. After that a work around was introduced with the NDK to solve the problem. This seemed to work in android 6, 7 and 8. The NDK based approach is also blocked in Pie. So technically it is impossible to record calls. Source

Ruslan
- 18,162
- 8
- 67
- 136

Nagendra Hari Karthick
- 463
- 3
- 15
-
Do you have any reference to getting started with `Call Recording` using `NDK`? – Sagar Jan 21 '20 at 08:50
-
1This might help you https://github.com/ViktorDegtyarev/CallRecLib – Nagendra Hari Karthick Jan 22 '20 at 05:12
0
Record a call in Android could be a strenuous work, this because not all Android version support the call recording.

Gianluca Benucci
- 135
- 9
-
Any answer. Because I was use all question you comment. But it not good for my idea. I want create Call recorder in C++ of NDK. I think it can help for me! – Hoàng Giang Mar 05 '19 at 12:42
-