[android-developers] Re: Mute button in call

2012-03-01 Thread brian lee
Right, as I said this code it working. The microphone is getting muted. But there is no indication of it in the call, so if you mute it and look at the screen you have no idea if it is muted. So I wanted to update the button in the phone app, but I don't think that is possible. I think my only opti

Re: [android-developers] Re: Mute button in call

2012-02-29 Thread Jagruti Sangani
Ok, now you had mute the call and whenever you want to comeback from mute that means not mute at that time you do just reverse process of this.That means first check is it mute if yes then make mAudioManager. > > setMicrophoneMute(false); I have not tried but it might be working. On Wed, Feb 29

[android-developers] Re: Mute button in call

2012-02-29 Thread brian lee
Here is the code that I am using mute within a broadcast receiver to capture the button: if(inCall==true){ mAudioManager = (AudioManager)context.getSystemService(Context.AUDIO_SERVICE); if(mAudioManager.isMicrophoneMute()==true){