Monday, October 19, 2009

[android-developers] How to play the music in the earpiece instead of speaker?

Hi, all
In my app, I use the MediaPlayer, the sound comes from the speaker.
I just want to know how to play the music in the earpiece.

The dev guide says that "You can play back the audio data only to
the standard output device; currently, that is the mobile device
speaker or Bluetooth headset. You cannot play sound files in the
conversation audio.". But actually I have seen some apps that can play
sound in the channel which conversation audio comes from.

Did I miss anything? Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments:

Post a Comment