tags:

views:

32

answers:

2

If my application records some audio with MediaRecorder, is it possible to play the recorded audio file into a call that was started with ACTION_CALL or ACTION_DIAL?

I see that I can start calls from an application but is there a way for my application to know that the call was answered? At this point I would like to play a file of audio into the call. Then, is there a way for me to end the call?

A: 

android.intent.action.ANSWER may be what you are looking for, or possibly PhoneStateIntentReceiver.

Orbit
A: 

This not yet possible on Android. See this feature request.

You can record your voice from microphone, but you can not record the sound of the other party.

Peter Knego
Thanks. Just a clarification. I am wondering if I can play audio into a call, not record audio from a call. Automated telemarketers can do it. They make a call, and then play a message to you.
MLW