Thursday, September 22, 2011

[android-developers] Re: Switch between speakerphone by default and headset if plugged in

I found Intent.ACTION_HEADSET_PLUG (http://stackoverflow.com/questions/
4092438/intent-action-headset-plug-is-received-when-activity-starts
).

On Sep 19, 10:49 pm, Shri <shri.bo...@gmail.com> wrote:
> Btw, for some users, the audio does not switch if they plug in the headset
> after the app starts playing audio. For others it does not use the headset
> if the headset was already plugged in when the app starts playing audio, but
> it does start using the headset if it is unplugged and then plugged back in
> again. So Android does seem to try to automatically switch to the headset
> when it is plugged in, but it is not doing it consistently.

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