How to play audio file when call starts?
问题 I am initiating a voice call from my application. Now i want that when the user on the other side picks up the call, i want to play a recorded audio file. How to go about this? Please help! 回答1: I have found a workaround with this. I play an audio file on device's speakers with full sound when the phone state changes to TelephonyManager.CALL_STATE_OFFHOOK This ensures that the user on the other side can hear the recording. 回答2: In simple and clear words you cant stream any sound on an