i need to find whether speaker phone is on or not through programmability.
I know that we can find using below method whether it is on or not.
AudioManager.isSpeakerphoneOn();
in my case even it is returning false, even though the speaker is on by some how.
I need to know below 2 things.
1.is there any broadcast action to find speaker state.
2.is there any way to find speaker phone state change