[Q] How to launch and app from bluetooth? - Verizon HTC Droid Incredible 4G LTE

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!

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.

[A] SE HBHDS980 buttons all work including Voice Search

FWIW, I know many of you have a MW600 BT stereo, but I have the 980, which has the integrated headphones, no FM radio.
I have been struggling to get the unit to work with the bt on the prior releases of android on the X10, but 2.3.3 and PowerAmp has done the trick.
First it took me a while (and a read of the Android 2.3 manual) to figure out that if you long pressed the device name in the BT Settings, you would be able to see what profile options are available for each device. The default for my headset was Phone Audio and not the Media output. I wasn't getting any music or video sounds through my buds, this was easily corrected, now that I found the place to do so.
Second, my forward/back, start/stop worked sometimes, but not all the time. And the call button did the same thing as the start/stop button did. This made it impossible to initiate voice commands without using the screen. Voice command via BT is one of the most important functions when driving a car. Voice is much improved in 2.3.3, IMHO. Anyway, changing the Headset Options in PowerAmp to "Respond to Headset Buttons" appears to now let me fully control the music from the 980's dongle. It also seems to be able to distinguish from the microphone located button (which it shouldn't based on the manual and past experience) as the "Call" button. Pressing the Call button brings up the Google Voice Search App which now lets you do most everything with commands. Even the reject call function is functioning.
Third, the 980 can scroll and select via BT from your phonebook. This is fully functioning, as is the retrieval for the Call List. A popup notification for the enabling of the request was needed on the phone, with a option to 'always allow.' Once this was done the Caller ID's number (but not name) info also showed on the dongle.
Unfortunately, the 980 has two more functions which the BT stack in 2.3.3 standard still doesn't support. Display of the file name while playing music. This was enabled in ATT's version for the x10 in v1.6. The other item missing is the time from the display.
PowerAmp also has a BT priority bump option to smooth out playback when the phone is doing other things.
I was considering purchasing another BT headset or a car unit, now I can save my money for something else.

[RESOLVED] [Q] Simulate a headset unplugged event to pause audio?

I own a GSM Galaxy Nexus and I picked up the official car dock yesterday, and I've noticed that it doesn't have an elegant method for pausing currently playing media when a disconnect is detected, like how when you unplug a headset and supported media apps will pause (e.g. Pandora or Google Music).
EDIT: Originally I was using Tasker's built-in media button functionality for pausing music, but that actually was triggering a global play/pause toggle which would toggle all apps at the same time, resulting in unwanted resumed playback from Pandora and Google Music. I managed to resolve the issue by using the Locale Headphone Button Plugin instead. With it I can issue a non-toggle pause event that only pauses tracks that are currently playing. There is absolutely no need to simulate a headset event.
I'm trying this as well, but in my car. so basically my task profile is when i have Power (any) and Bluetooth running. I plug the phone in via usb to the headunit and it auto-connects bluetooth to the unit. What i'm trying to simulate is when i turn the car off (aka....bluetooth loses connection, and in theory so does power), that any music would become paused. The simplest way is to simulate unplugging headphones since most every major music app pauses when you do that.
I downloaded Locale Headphone Button Plugin and the "Play/Pause" options works just fine in testing using the tasker in-program-test-play feature.
The issue I run into is that if I cut off the car, bluetooth dies (as it should), but as long as my USB power cord remains plugged into the phone (i.e. i haven't yet removed my phone from the glove box), the Locale Headphone Button Plugin "Play/Pause" command seems to not execute.
any ideas?

[Q] Klipsch S4i with GS3 - Calls cannot be received

Hi there,
I have used the Klipsch S4 headphones for a while now and decided to "upgrade" to the Klipsch S4i wired headset for convenience. It is actually designed for Apple products, but the middle button should still work.
The android version of this headset is 60ish% more expensive and has the same functionality (no volume buttons instead of dead volume buttons...).
I had read that not all functions would be available on my Samsung Galaxy S3 (Android 4.1.2), but I expected the problems to be restricted to the volume control buttons.
What does NOT work?
When I'm using the headset, I can use the headset's middle button to receive an incoming call, but as soon as the button has been pressed, the headset is pretty much not recognized by the phone any more: The call uses the phone's speaker and microphone.
Also, if I try to listen to music via the headset afterwards, that works only after unplugging and reconnecting the headset. The headset is dead after receiving a call with its button.
Things that DO WORK:
- Receiving the call by using the phone's touchscreen while using the headset - full functionality.
- Fully functional (button to hang up, mic and earbuds) when I'm making calls from my phone. So the problem exists only for incoming calls and when using that damn button.
- Using the button for play/pause, next track etc... (no volume control though) with spotify
What I have tried:
- Apps: JAYS Headset control, Philips headset control, Klipsch headset App, SoundAbout (Free version), Music volume EQ
Only one of these apps was installed at a time to prevent conflicts.
I would find it very convenient to use the button to receive calls and don't understand why that doesn't work. Can you help me?
That's why Klipsch made the S4A model (for Android phones)...
robogo1982 said:
That's why Klipsch made the S4A model (for Android phones)...
Click to expand...
Click to collapse
I have both, and yes S4i control buttons not work (unless you want to open it and exchange the resistor with cheap android headset). Quality of the sounds both same, the disadvantage only the buttons (S4A single button sucks, even install Klipsch app), the long press button config conflict with voice command (this why it sucks because I set long press to choose volume presets, anyone know solution for this?).

[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?

Categories

Resources