Mute Phone in App


Last Updated:

  1. CopyPaste

    CopyPaste New Member This Topic's Starter

    Joined:
    Feb 16, 2010
    Messages:
    2
    Likes Received:
    0
    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:
     

    Advertisement
  2. CopyPaste

    CopyPaste New Member This Topic's Starter

    Joined:
    Feb 16, 2010
    Messages:
    2
    Likes Received:
    0
    Really nothing? Is what I am trying to do impossible since the call is in progress?
     
  3. Grenex

    Grenex New Member

    Joined:
    Jun 15, 2011
    Messages:
    1
    Likes Received:
    0
    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)
     

Share This Page

Loading...