Yes, a event is broadcast:
http://developer.android.com/reference/android/content/Intent.html#ACTION_HEADSET_PLUG

Set up a broadcast receiver and handle it based upon the state of the data
from the intent.

Enjoy

Donn

On Wed, Aug 26, 2009 at 6:27 AM, Nate <[email protected]> wrote:

>
> Is it possible to detect when/if headphones are plugged in?
> >
>


-- 
Donn
http://blog.donnfelker.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to