Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
331 views
in Technique[技术] by (71.8m points)

java - Record a call through MIC on Samsung devices (Android 7.0)

I've simple Android app that record a call and it works fine on Android 6 + Samsung devices (both with MIC source and VOICE_COMMUNICATION). But once Samsung devices updated to Nougat (for ex. S7 / S7 Edge) these methods to record a call failed :( MIC record only my voice but not opponent voice and VOICE_COMMUNICATION does not works at all.

Could anybody advice what can be done here?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

same problem. still looking for the answer.

I've got a samsung s7. Firstly, I'v unlocked native recorder (in dialer) and it's works. So, android 7 (and samsung) can record calls without inner actions inside of Android. But, in the same time I've read that developers can't get the access to recording calls from higher level. It seems like there's only one way to achieve our goals: modification of stock Android's version or catch sound stream before it gets to speaker. Fix me if I wrong.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...