Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

Playing audio to telephony uplink is possible but Microphone input data is also transmitted.

  1. How to switch of microphone on android devices
  2. Is there a possibility to play audio to telephony uplink while call on Mute?

any pointers or suggestions will be highly appreciated.

share|improve this question
3  
possible duplicate of How can I play an audio recording over an open phone conversation? –  GAThrawn Feb 7 '12 at 14:09
    
@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
1  
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
1  
Not via code. any 3rd party app or any settings on device, –  user12295 Feb 24 '12 at 10:01
show 3 more comments

1 Answer 1

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!!! Bizarre I know. I am hoping the NDK can provide a solution as I have put a lot of work into it already.

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
add comment

protected by Community Jul 5 '12 at 1:24

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

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.