Same problem over here on HTC Desire with 2.2. I have a broadcastreceiver listening for the intent "android.intent.action.MEDIA_BUTTON". Unfortunately always when i press the bluetooth headsets button a redial (call) is made. I'm already calling registerMediaButtonEventReceiver(...); in my onCreate.
For test purposes i added the intent "android.bluetooth.adapter.action.STATE_CHANGED" to my broadcastreceiver in the manifest. Using this intent my App starts whenever i switch off bluetooth. It would be grate if anyone has an idea! On 4 Jan., 01:19, mrqzzz <marcus.ob...@gmail.com> wrote: > Hi. > I already found this question, but without any working answer in this > group: > > How do i intercept a blutooth headset's button press (or eventually > the action it calls) ? > > I already tried using a receiver for the action > "android.intent.action.MEDIA_BUTTON" but it works only for the regular > wired headset, not with the bluetooth headset. > Also a receiver with "android.intent.action.VOICE_COMMAND" does not > work. > > Thank you, > Marcus. -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en