Same as this question and many others from a few years ago: how to turn speaker on/off programmatically in android 4.0
It seems that Android has changed the way it handl
For this problem please try the following code it is working for me.
AudioManager myAudioManager; myAudioManager.setMode(AudioManager.MODE_NORMAL); myAudioManager.setSpeakerphoneOn(true);