[android-developers] Re: Intercepting bluetooth device buttons

2009-07-05 Thread Nick Pelly
Register your intent receiver at a higher priority, and call abortBroadcast() while handling the Intent. On Thu, Jul 2, 2009 at 2:19 PM, sktech wrote: > > Thanks, I have successfully implemented this thanks to your help. > > However, I have the following problem: > > I have an application that pl

[android-developers] Re: Intercepting bluetooth device buttons

2009-07-02 Thread sktech
Thanks, I have successfully implemented this thanks to your help. However, I have the following problem: I have an application that plays audio and I listen through my bluetooth headset. When I push the play/pause button on the headset, my application get the corresponding broadcast and pauses

[android-developers] Re: Intercepting bluetooth device buttons

2009-07-02 Thread Nick Pelly
On Thu, Jul 2, 2009 at 4:36 AM, info.sktechnol...@gmail.com wrote: > > Could someone point me to the documentation or example on how my > application can intercept button pushes on an already paired and > connected bluetooth device? AVRCP events are broadcast as media intent's if the foreground a

[android-developers] Re: Intercepting bluetooth device buttons

2009-07-02 Thread Mark Murphy
> Could someone point me to the documentation or example on how my > application can intercept button pushes on an already paired and > connected bluetooth device? At the level of the Android SDK, you can't, AFAIK. At the firmware level, you may be able to -- questions on that should go to a gro