[Q] Bluetooth call button
Okay, I bought a bluetooth headset and when pressing the call button it does nothing.
I am actually trying to write an app using the Gmate (enables bluetooth GSM phone calls) to make calls.
For this I would like my app to start upon pressing the call button.
I have tried the following:
-Use remapping apps (does nothing)
-Enable voice in framework (not possible in android 4.3)
-Using mediabutton intent (does not enable call button)
-Reading the android source. Only found that telephone uses something like IBluetoothPhoneHeadset.Stub. I tried to include this but that wasn't possible.
The only three options I can still think of are:
-cross-compiling a bluetooth library and using this to read bluetooth input.
-Create custom intents in android source and then either recompiling android rom or update.zip.
-Edit android telephony source.
Since all these options take a lot of time and the new android version will be released soon I decided to post this question.
Perhaps somebody knows a quick fix?
My bluetooth headset: Jabra street 2
Thanks for reading and I really hope someone can help me.