How do you capture the events of a Bluetooth button from a Parrot B350-XT Bluetooth headset?

My Bluetooth headset (Parrot B350-XT) has 4 buttons:

  • Volume up
  • Volume down
  • Power button
  • Parrot Button

I am creating an Android application (OS 4.4.2) that runs on a Samsung SM-T230NU.

I want my application to receive a notification when any of the above buttons are pressed, including the type of button press (long press, short press). My application will interpret these events in context. The application I am developing is a softphone, and I would like the following actions to be connected between the events of the buttons and the actions of the softphone. This is just an example:

  • The user presses the vol down button. Action: volume decreases
  • User presses up button. Action: volume increased.
  • The user presses the parrot button until there are no active calls. The application is brought to the fore.
  • If an incoming call occurs and the user presses the parrot button, then the call answers
  • If the incoming call is active and the user presses the parrot button, then the call hangs up.

So far I have been looking at the Android SDK, stackoverflow messages and various implementations, but I have not been able to figure out how to do this.

+6
source share
1 answer

I checked their official website. It seems that this device cannot be programmed. They were provided with an application to communicate with their product - the VXi BlueParrott application. In any case, you can try to TechnicalSupport@vxicorp.com.

+2
source

All Articles