I am able play a media using MediaPlayer. The media played via the ear piece.
But how can I play the media with speaker phone? I have tried: AudioManager audioManager = (AudioManager) mActivity.getSystemService(Context.AUDIO_SERVICE); audioManager.setSpeakerphoneOn(true); But that does not work. And I have added this to my Manifest file <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> Can someone please tell me what am i missing? Thank you. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en