You want to try the following AudioManager mAudioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); mAudioManager.setMode(AudioManager.MODE_NORMAL); ..... mAudioManager.setSpeakerphoneOn(true);
-- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 10, 5:38 am, sunee <suneetha.kalahas...@wipro.com> wrote: > I am working on android for omap zoom2. > omapkernel - 2.6.27 > android - RLS25.6 > > The audio playback seems to happen (progress bar updation happens) but > no Audio is heard. > There is no headphone connected and also the sound level is at > maximum. > > Is speaker routing enabled by default or do i have to enable it > explicitly? > Kindly help me. > > Thanks, > Sunee --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---