Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Playing audio to telephony uplink is possible, but the microphone input data is also transmitted.

  1. How to switch off microphone on Android devices?
  2. Is there a possibility to play audio to telephony uplink while call on mute?
share|improve this question
@GATHrawn, NO,the suggested solution is related to recording which in fact quite opposite to Answering machine feature. – user12295 Feb 7 '12 at 15:39
The question is about playing back a piece of pre-recorded audio over the phone conversation, which is exactly point 2 of your question. Currently the only answer (which hasn't been accepted) is giving a workaround of playing pre-recorded audio whilst letting the inbuilt microphone pick it up during a call. It's not a good solution, but it is a solution. Things may have changed since that answer was posted June, if so anyone is welcome to post another answer which the OP could accept. Disregarding any answers that question is still very, very similar to this one. – GAThrawn Feb 8 '12 at 9:13
The other question isn't about recording, it's about playing "a recording", i.e., an audio file. You're right that the other question doesn't mention anything about muting the mic, though, so I think they are fine to stay separate. I'd encourage you to answer the other question, since it sounds like you've discovered how to play audio over the call without using the mic. – Matthew Read Feb 9 '12 at 18:06
Not via code. any 3rd party app or any settings on device, – user12295 Feb 24 '12 at 10:01

I have been developing my own answer machine application and hit two major stumbling blocks. One is that setMicrophoneMute(boolean on) simply doesn't work. And the other issue is playing an audio greeting down the phone line.

This isn't possible due to hardware restrictions and it doesn't even work if the microphone is switched on and the audio is played through the speakers.

share|improve this answer
Have you found the solution ? – Hunt Apr 9 '12 at 17:30
@mark Have you found the solution? – Jack Dec 4 '12 at 9:25
@Jack - it's possible, but both cases require rooted ROMs to work, thus one of them (ALSA-based) depends on Qualcomm chipsets. – kagali-san Nov 17 '13 at 0:47
@Hunt, wondering what you have found in that time – kagali-san Nov 17 '13 at 0:47
Are there any news? – jj_ Aug 23 '15 at 20:50

protected by Community Jul 5 '12 at 1:24

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.