You want to register to receive Intent.ACTION_HEADSET_PLUG from package android.content. Check out:
http://code.google.com/android/reference/android/content/Intent.html On Dec 10, 2:38 am, eric <[EMAIL PROTECTED]> wrote: > Hello, > Anyone know how to detect if the ugly earphone has been plugged? Any > API related to this? thanks! --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---