Is it possible to inject Text To Speech into voice calls on Android? As in, redirect the Text To Speech's output into the Microphone, so the person on the other end hears it?
Asked
Active
Viewed 343 times
1 Answers
0
Turns out this is impossible due to Android's privacy limitations.

yeho
- 132
- 2
- 13
-
Well, I guess you can just make sure the speaker is open and play the sound out. So the microphone of the phone probably will record the sound and the person on the another end could get it. – Nov 30 '20 at 01:29
-
Maybe check out this thread on Stackoverflow: https://stackoverflow.com/questions/33795161/how-do-i-enable-the-android-speaker-during-a-call-from-code , I don't know if it worked or not. – Nov 30 '20 at 01:34
-
And this one too: https://stackoverflow.com/questions/39725367/how-to-turn-on-speaker-for-incoming-call-programmatically-in-android-l , they both gave out the solution to turn on the microphone during the call. – Nov 30 '20 at 01:45