I am pretty new on android development. So here is the thing. I am developing an application with a toogle button on the main activity. My problem is that i dont know how to mute completly the microphone when this button is triggered.
And also when the user wants to call someone the phone is unmuted.
Could someone helps me.