• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Mute Phone in App

CopyPaste

Lurker
Hey Guys,

New to the forums, I have a quick question. I am attempting to mute the phone call in progress from my application.

I have tried all the following:

this.setVolumeControlStream(mAudioManager.STREAM_VOICE_CALL);
mAudioManager.setMicrophoneMute(true);
mAudioManager.setStreamMute(0, true);
mAudioManager.setStreamVolume(0, 0, 0);

but none seem to work. I have the active call going on and the call stays unmuted. Does anyone have any ideas?

Thanks! :confused:
 
Did you ever get this working?
What app were you creating? I am looking for an app that will mute the microphone of a call currently in process when you flip the phone over (instead of unlocking the phone, and hunting for the mute button)
 
Back
Top Bottom