Simulate headset button press in tizen app - Samsung Gear S

I was considering whipping up a simple app that would simulate a bluetooth headset button press and then I could use google now from the watch. I figured it is already connected with a headset profile, so why couldn't I activate a button event?
Has anyone done this? If not can you help me find out how to do this?
Thanks all

Related

[Request][Mod] Launch app on bluetooth key

So I have a bluetooth car kit in my truck that gives me the option to map either the "answer" or "hangup" bluetooth functions to a button on the steering wheel. There is no option to start a call and start the voice dialer, that's why I want this:
What I want to do is first map the "answer" function to the steering wheel and have it work like this when it's pressed:
1. When the phone is not ringing or in a call: Launch a custom app (like a voice dialer app)
2. When the phone is ringing: answer the call (Already does this)
3. When the phone is in a call: hang up
I guess the first step I need to do is figure out if the car is even sending the "answer" key to the phone when it's not in a call.
If someone knows of some docs or sample code on how to intercept these commands, it would be most helpful.
Thanks,
Master Baron
In most of the old Nokia phones, when you press and hold the button on the bluetooth headset, it opens voice dialer when not in a call. I think it has to be a way to do this.

[Q] Mapping wired headset's end call button to play pause music

Hi
I have wired head with end call button, which works fine on atrix. I was wondering if there was a way to map this button to play and pause music ..like iphone ?
Thanks
Sam
bump.....anybody....??

[Q] How to launch and app from bluetooth?

Trying to find way to launch a custom app from my bluetooth controller, possibly using tasker or any other method with a rooted phone. I do not have access to long press actions with my bluetooth controller, and it does not have a search button.
I have a cheap $40 clarion Bluetooth unit in my car, which works decently for me. It has its quirks, but it gets the job of streaming pandora and calls from my phone to my AUX port wirelessly.
The only problem I have with this is that I can't launch any apps, or make calls with this unit. Ideally I would like to be able to launch google now or Voice Actions Plus with my bluetooth unit for voice commands.
The unit has four buttons 2 functions each. VolUp, VolDown, Next, and Previous.
Pressing (quickly) the:
the VolUp/Down buttons do not send commands to the phone, they adjust the volume going to the aux jack
The next and previous buttons send the Answer and End buttons to the phone when in call. otherwise they do nothing
Long pressing the:
Vol Up button alternates sending keycode 200(Media Play) and keycode 201 (Media Pause) to the phone.
Vol Down button sends keycode 166 (Media Stop) to the phone.
Next/Previous send the keycode for Media Next / Media Previous to the phone.
I have tried to make keycode 166 the "CAMERA" button, so that I can use a Tasker profile to launch the app, but i'm not having any luck,,, the tasker profile does not trigger, almost like its not reading that the camera button was pressed. am I overlooking something I should have changed in a .kl file somewhere? Is there a better method of doing what I'm looking todo?
Any ideas would be greatly appreciated!

[Q] Bluetooth headset call button on an Android Tablet does nothing

My girlfriend has a Nexus 7 and I have a Hisense Sero 7 Pro. I have one bluetooth receiver in my car and another bluetooth headset. When either tablet is conencted to either bluetooth device, pressing the call button does nothing. I have tried autovoice with tasker with no luck. Is there anyway to get these tablets to recognize when the bluetooth button on the bluetooth devices is pressed? I notice in the menu in settings for each bluetooth device that there is only the option for "use for media audio" and not "use for call audio." If this is the reason is there anyway to modify jelly bean 4.2 to add the use for call audio option?
As an update, I do notice my Sero 7 Pro doing something in the taskbar when I press the button, and it is causing music playing in power amp to pause for a couple seconds, but nothing activates in the apps I have set to activate. It appears that the tasker icon appears and disappears when this happens, but the tasker profile I have set for this action does nothing, and when I try bluetooth launch app, nothing happens. Is no one able to get the bluetooth call button to work on their tablet?

wired headset button starts google voice search on short click

wired headset button starts google voice search on short click not on a long one as it does on any other phone. This overrides any other app and makes headset button useless. the only way to stop it is to disable voice search all together, but i do not want to do so. Is there any other way ?

Categories

Resources