Wednesday, September 8, 2010

[android-developers] How to route audio to the wired and wireless headset

In the old Android version I could use setRouting with
AudioManager.ROUTE_EARPIECE and AudioManager.ROUTE_HEADSET to route
the audio to wired headset and wireless headset respectively. With
Froyo the setRouting method does nothing and so does the
setWiredHeadsetOn method. So now how do I get the audio to be routed
to wired and wireless headset programmatically?

Thanks,
-Anshul

--
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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate