It is possible to programmatically interact with a phone call? Can you, for example, play audio to a caller from a program?
Google has not exposed any API which allows us to feed data to a particular ongoing call. You can however have control over a call. Check this article : here
来源:https://stackoverflow.com/questions/4797032/how-to-play-sound-on-phone-call-with-android