Hi Raunaque, I am trying to write my application which would react to the Bluetooth headset/stereo-headset event. Pairing is done the normal way as is done between the phone and the Bluetooth device.
Thanks, Ankur On Fri, Jul 27, 2012 at 2:20 PM, Raunaque Quaiser <rmquai...@gmail.com>wrote: > what kind of application you are targetting . How are you doing pairing > and connection . > > Regards > Raunaque > > On Thu, Jul 26, 2012 at 3:58 PM, Ankur Agarwal > <agarwalanku...@gmail.com>wrote: > >> Is there any other alternative solution for this? >> >> Thanks, >> Ankur >> >> >> On Thu, Jul 26, 2012 at 12:28 PM, Ankur <agarwalanku...@gmail.com> wrote: >> >>> Hi, >>> >>> I am trying to create a app which can handle bluetooth headset event or >>> bluetooth stereo headset event(a2dp events) but I am not sure if there is >>> any Public API exposed for this at >>> http://developer.android.com/index.html. >>> >>> While developing the app for the BT stereo headset, I came across the >>> "android.bluetooth.a2dp.intent.**action.SINK_STATE_CHANGED" but >>> couldn't find any documentation for this. >>> For BT headset it seems transmitting out AT commands which directly >>> interacts with the lower level and does send out any events which my app >>> could handle. >>> >>> I even tried handling ACTION_MEDIA_BUTTON, setting the priority for 999 >>> incase this is already captured by another app but this didn't work as well. >>> Is there any way how could we handle these BT events in our app. >>> >>> Thanks in advance! >>> >>> Thanks, >>> Ankur >>> >>> -- >>> 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 >> >> >> -- >> 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 >> > > -- 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