[Q] Bluetooth headset button event not handled properly? - Nexus 4 Q&A, Help & Troubleshooting

I'm using Nexus 4 with stock 4.4.2, rooted, and iSimple BluStream (find BluStream on the Bestbuy site - no links here, sorry) as the handsfree/A2DP bluetooth device in my car.
The device works perfectly fine - it pairs both as a headset and as a media receiver at once. However, it has only one hardware button, and pressing this button always results in redial (when not in call), answer (during incoming call) or hanging up (when in call).
I tried all apps I could find, such as Headset Button Controller, Headset Droid and JAYS Headset Control trying to assign different actions to clicks, double, triple clicks etc.
Neither one works.
Regardless of an app and its settings the headset button always invokes either redial, answer or hangup.
All these applications have "monitor" mode that allows to see headset button events it receives. Neither application sees any headset button click at all, like the headset is bypassing the apps! All apps also have "check for conflicts" option that checks if any other app has top priority to receive headset button clicks - and all apps always say "no conflicts".
media_button_receiver in Settings storage -> settings.db -> system changes accordingly to the launched app - it shows either JAYS Headset control or audioplayer - whichever is running.
There are also four bluetooth_headset_priority parameters in Settings storage -> settings.db -> global, with four different MAC addresses and the values of 100, 100, -1 and 1000.
Anyway, my problem is that regardless of what I do (install various button remapping apps, change settings etc.) the headset button always behaves like it is hardwired to redial/answer/hangup.
I tried to google around (including this forum), but still have absolutely no clue, like I'm the only user having such problem.
Any ideas are much appreciated!

Related

Stereo Bluetooth Headset Issue with Qtek 9000(HTC Universal)

Hello everybody,
I just would like to hear some (technical) comments regarding making stereo bluetooth headset usage more convenient with a device like the HTC Universal.
My current situation is as follows:
The stereo bluetooth headset that I am using is http://www.itechdynamic.com/en/products_spec.asp?cid=2&pid=02040
The inconvenient problem I am encountering is the cumbersome method of going into "wireless-stereo/hands-free/headset" mode immediately after switching ON my headset.
The pairing between the device and the headset was not an issue, however one would think that once paired - there would be no need to go into the "Partnership Settings" again, and again, and again, etc...
So assuming that the Universal device has Bluetooth ALWAYS active, I switch ON my headset and the only think that works is the Multi-Function-Button on the headset that triggers the voice dialer / voice commander. Once the phone dialer is running I conveniently go into hands-free mode. This is fine and all, but quite useless when I am not using the phone dialer.
I mean, after switching ON the headset, and then I start to play an audio file - the headset should be the point of audio output, not Universal's speakers. This does not happen after switching ON the headset. To make this happen, I must do the follwing:
1. Switch ON the headset
2. On the Universal Device, go to Comm Manager and select the Settings tab
3. Choose Bluetooth Settings...
4. Select the Devices tab
5. Select the defined Partnership between the headset and the Universal device, in my case this selection is "i.Tech Clip S"
6. Under the "Select services to use from this device" we have:
a.) Hands Free
b.) Wireless Stereo
c.) Headset
All three are selected but in reality are not working (not yet anyway..)
7. Clicking the REFRESH button causes the services selected in point 6 above to change. Clicking the REFRESH button causes the Hands Free and Wireless Stereo services to be de-selected while the Headset service to remain selected.
8. Select the Hands Free and Wireless Stereo services and click on the Save button.
9. Now all is well!
So, the problem obviously is in point 6 where what the Universal device says is not actually what is reflected in reality.
But in order to work around the problem, I must do points 7 and 8. Since I wish to make an app that does the things mentioned in points 7 and 8 - I need to know what the REFRESH button actually does.
All I know so far is that the REFRESH button does not just elicit values from the registry. It does something that results in the registry values being written. This is where I would really appreciate your comments.
qtek 9000 MS voice commander 1.6 handsfree voiceenable !
It doesn't work , but now http://www.jetwaremobile.com/index.htm I have this ?!!!
But the voice down in my pocket PC. I want that Handsfree is only "ON", not "OF" after click?...

Automatically Set Bluetooth Wireless Stereo

I'm looking for a way to progamatically set a bluetooth headset to use the wireless stereo profile using the .Net Compact Framework. I have contacted Peter Foot over at 32feet.net and he has added it to his wishlist for OpenNetCF. But in the meantime if anyone can help with this I would be appreciated.
I'm using the Toronado A2DP hack for my Apache and it works fairly well but everytime I turn on my headset, I have to go to the bluetooth settings and manually set it to use the wireless stereo profile. This is becoming quite dangerous while driving because it's not possible to do with the navigation keys (you must perform a press and hold).
On a completely different side note, if anyone knows how to perform a "press and hold" with the navigation keys, at least I may reduce my chances of wrecking my car.
Thanks - Mark.
The same thing happens with Jabra BT620s... I need to do the whole procedure which is quite long...
If anyone could make a simple click solution that would be great...!
A quick question: doesn't long pressing the play / pause button work?
No, it doesn't. The Play/Pause button acts like a single tap so it takes you to the edit screen.
I think I errored on my nomenclature. It's 'tap and hold', not 'press and hold', sorry.
Now, I'm a .Net developer so I need a managed code api to make this work for me, but if there are any CE Bluetooth wizards out there who could build a simple app where we enter and save the device name and you then set the device to use the wireless stereo profile, that would work too. I know there are lots of people who would love to be able to single click (or auto start) their bt stereo headsets. With this in mind, I actually have two different headsets that I switch back and forth so this app would need to handle multiple headsets (maybe just multiple instances of the app?).
Menneisyys said:
A quick question: doesn't long pressing the play / pause button work?
Click to expand...
Click to collapse
No it doesn't. All we need to do is to simulate the action "Set As Wireless Stereo" through a program... Then with a simple click to set our headset as wireless stereo. I know it seems quite simple in my mind, but it isn't I guess...
SkierHiker I hope you can make it my friend...
I am having the same problem earlier but I had assigned a button to do the hold-tap and it had solved my problem since.
All you need to do is to go to the SETTINGS->BUTTONS and assign a button to "<CONTEXT MENU>" (I had assigned my START button to it).
Another way is to use a macro program called "SKSCHEMA" in which it would record the location where you need to do hold-tap and normal taps and then play back as a macro. A drawback is that the playback may not be accurate because it's based on time playback (tap here, wait for 3 seconds, tap there)There may be cases in which you are running some apps at the background thus causing your pocket pc to lag a bit.
I have the same issue with an i-tech s35 headset.
The setting of a button for context menu is a good idea but to be able to create a shortcut or better still have the headset default to wireless stereo would be great.
Hope someone can come up with something.
BT620s autoconnecting in wireless stereo!
I have applied the upgrade for the BT620s here http://www.jabra.com/JabraCMS/na/EN/Misc/Software620s and now the headset autoconnects and set itself as wireless stereo!
For anyone else with this problem try Mortscript. In the following thread there is a script which will perform the necessary mouse clicks automatically when your headset connects.
http://forum.xda-developers.com/showthread.php?t=289197
edeplano said:
I have applied the upgrade for the BT620s here http://www.jabra.com/JabraCMS/na/EN/Misc/Software620s and now the headset autoconnects and set itself as wireless stereo!
Click to expand...
Click to collapse
Thanks you so much!!!
It solved my problem....
didnt wanna create a new thread for this as its kinda connected to the BT320s.
Im wanting to buy a BT320s for my TyTN (ive applied all the various reg hacks to improve A2DP) is there a way i can test out my TyTN using my PC as the speakers???
Was hoping just trying to transmit A2DP to the pc would work?!

Bluetooth script

Heyup all,
Not from a programming background, but am IT competent to feel free to throw anything my way in response to this:
I've got a pair of bluetooth speakers. Normally I run my THD with bluetooth off to save battery. When I want to connect to the speakers I launch comm manager, turn bluetooth on, then launch bluetooth settings, press and hold on my speaker icon and set "use as wireless stereo". Then I quit those two and launch my music player (kinoma freeplayer).
Basically I'm lazy and would like to know if it's possible in winmob to write some kind of script that will do all the above for me from one icon?
Hi, I'm not a script writer but I suspect you might be able to do this in AEB+ which has some advanced features I have not used. I think you should be able to set up a sequence of events and assign this to a button press combination.

HTC Imagio-No Bluetooth Stereo Audio Startup

I just got off the phone with HTC *support*. I listen to music on my phone a LOT. I have a BT8040 headset for when I am on the road, and on every other PPC I have had the BT stereo audio service runs at the start of the phone. I just hit play and poof, I have music.
Not so with the Imagio. According to HTC, the ROM is configured so that the hands free profile starts, but the stereo audio profile doesn't. You manually need to drill down through Start-->Settings-->All Settings, tap the bluetooth icon, hit the second tab, and tap Stereo Audio to start it up.
This just plain SUCKS.
When the PPC first starts, right before it loads TF3D, for a brief second I see the icon indicating the Stereo Audio profile has started, then it switches quickly back to the hands free profile icon.
Now then, using Memmaid, I see that the BTAGSVC (Bluetooth Audio Gateway) is there and set to automatic, and I also see that the dll referenced is on the Windows directory (btagsvc.dll). However, when trying to start the service it tells me that the system cannot find the file specified. I am sure it is something that HTC has placed to prevent it.
A search for "btagsvc" brings up hklm\services\BTAGSVC and a few hklm\software\microsoft\bluetooth\services entires that are numbered with big long stings that my old hands can't type due to the cold.
Here are my questions:
When I tap "Stereo Audio" in the location above, what does it do? Start an EXE and execute a command line? Can a shortcut be made to that command line or whatever and put in startup? Can the service be added to startup by getting around how ever HTC has prevented it from starting? A registry edit?
Can we find what HTC has done to prevent it from starting and running?
Any help is appreciated, I have hit the limit of my knowlege.
Quicker Drilldown
If you tap the top bar, it gives you a menu page with a bluetooth selection that takes you to where you connect to your device. It's not great, but quicker than going through start->settings, etc.
I noticed the same thing. But it's not consistent for all BT devices thankfully... my Motorola T505 connects perfectly.
I too have noticed that the BT does not work as seemlessly as it should. I leave BT on all the time and when I turn on my motorola HD headset it connects fairly quickly and works fine. If I do a soft reset, then I need to re-establish the connection.
Has anyone had issues with not being able to turn on the blue tooth service on the device? I currently am having that problem. Worked in the beginning but somewhere between then and now... it no longer will turn on... and reports that it can not be. I have looked high and low to try to figure out how BT has been disabled on this device and can find no references at all.

Bluetooth headset usage? + Bottom hard keys behavior during calls?

Hi all,
Does anybody has tested the HD mini with a Bluetooth headset? More precisely, does the screen keep locked during and after a call answered through a Bluetooth device?
(This is not the case with my current HD2 and locking the hard keys prevents to answer calls from a bluetooth headset... this is not good at all. As the HD mini has different keys for End Call and for Power On/Off, its behavior may be different.)
Another one : aren't the bottom hard keys (which seems to be capacitive, as the screen digitizer, but are they?) too sensitive? Do they tend to end a call when speaking, the phone being held against the cheek?
Have a nice day!
I dunno about the bluetooth stuff as I dont have a headset.
With regards to the buttons, the device has a proximity sensor which turns off the screen and buttons when it's close to your face.
debully said:
With regards to the buttons, the device has a proximity sensor which turns off the screen and buttons when it's close to your face.
Click to expand...
Click to collapse
Thank you very much, that's a good point.
I have had my mini for 4 days now, first ever HTC and got to say very impressed. I was on a long run in the car yesterday and used the Bluetooth a few times, I have a Bluetooth headset in the car for streaming music and obviously hands free phone calls.
Il start with the music side; using the standard HTC music player I found that when being played the music would cut out (maybe once or twice) after first setting it up but then be seamless from that point. I have noticed though that when going back to use the Mini (car stationary of course) the music would begin to cut out again. I don’t know if this is the music player or the connection but this has just left me to resort to setting up a playlist then using the car headset to change tracks.
As for the phone, if you have it plugged into the cigarette lighter (very useful for charging without the phone being away from your side) it wont go into standby mode, although the first call i received I used the Mini’s answer button to answer which appeared to cut off the Bluetooth and answer the call as normal, not the best situation to be in when you are driving. The 2nd phone call i got i used the car headset answer button which kept the Bluetooth running.
The only other big issue is that every time I get into the car I have to manually setup the connection from my phone to the car headset, I don’t know if this is meant to be like this or I have missed a setting any advice in this area would be useful
Cheers
Thank you, Q22ube, for you input.
My usage of a bluetooth headset is quite different since, most of the time, I use the phone with a motorcycle helmet headset (Cardo Scala Rider G4) so the phone is in a pocket or in a bag, running on its own battery, and I have no physical access to the device while riding . For now, I am using a HTC HD2 (which is a very nice device but a little too big to use it one hand) and music streaming through Bluetooth A2DP is quite good. I also had to setup a playlist since, by default, the HTC Sence music player will use nearly all music tracks available on the device, including some system sound .
Q22ube said:
I have had my mini for 4 days now, first ever The only other big issue is that every time I get into the car I have to manually setup the connection from my phone to the car headset, I don’t know if this is meant to be like this or I have missed a setting any advice in this area would be useful
Cheers
Click to expand...
Click to collapse
I don't known how works your headset (or car embedded Bluetooth system) but, most of the times you have to pair the audio device with the phone:
set the audio device in pairing mode (according to its user's manual);
go to the Bluetooth control panel of the phone;
from here, search for a new headset (e.g. click "add new headset");
when found, select the audio device and then follow the pairing procedure displayed on the phone screen;
usually, you have to enter a pairing code which should be found in the headset (or car) users's manual (most of the times it is 0000) or only click "OK".
Usually, this pairing procedure must be done only once. After that, provided Bluetooth is already turned on on the phone, you only have to switch on your headset (your car embedded audio system) and it will automatically connect to the phone. If the audio system is already on when you enter your car with your phone, you may have to switch it off and on again to start the bluetooth connection.
It is possible that your audio car system is always searching for known phones and then, the previous paragraph may not apply but I have no experience with such systems (only with some plain headsets).
One last point: please, do not leave Bluetooth in discoverable mode on your phone all the time and double check your Bluetooth security settings... Nobody should discover your phone if you don't want that and no unknown (malicious) device should be able to connect to it.
Cheers
Hi Q22ube and darthrider,
I've had my mini for one day only and found that the bluetooth device partnering is not "for life"
In my nokia formerly, I only needed to pair my gps with the phone once and that would be it! They never needed to be paired each and every time I wanted to use the two together like the mini does now.
I don't think that is normal ... Can you share with me your experiences? I use the GPS a great deal and is the main reason why I bought this phone (because it's the last wm phone and garmin's software only runs on wm and symbian) so it's irritating to have to go through so many steps every time I come back to the car.
Found the solution
Hello again,
After another good many hours of fiddling with the phone I discovered that the Bluetooth button that you find in the "Wireless Controls" tab under "Settings" brings you to "Comm Manager" which is actually a BTWizard.exe
What it should have been is "BTManager.exe" which you can find in Windows directory. This is the exe. file that allows you to launch and find paired devices automatically without needing to constantly repair.
I created a .lnk file in the Windows/Programs/ directory to BTManager.exe, put it into one of my quicklaunch panels and now I can switch on my BT, open the port and go straight into my Garmin programme without needing to repair my BT receiver.
Paired for life!
yes working fine
Dear Friend
i have a BT Headset using it with my HD Mini and i am seraching browsing phone normally while talking in headset during a phone call
just press home key and do what ever you want , even i have video recording during call
Hi ikelew,
ikelew said:
After another good many hours of fiddling with the phone I discovered that the Bluetooth button that you find in the "Wireless Controls" tab under "Settings" brings you to "Comm Manager" which is actually a BTWizard.exe
What it should have been is "BTManager.exe" which you can find in Windows directory. This is the exe. file that allows you to launch and find paired devices automatically without needing to constantly repair.
I created a .lnk file in the Windows/Programs/ directory to BTManager.exe, put it into one of my quicklaunch panels and now I can switch on my BT, open the port and go straight into my Garmin programme without needing to repair my BT receiver.
Paired for life!
Click to expand...
Click to collapse
I did not notice the paring problem you described since I opened the Bluetooth Manager from "Sense Settings Tab > Menu > More > Bluetooth". This opens the true Bluetooth Manager and not the Bluetooth Wizard. Happily, you have found another solution.
I think that the Comm Manager should launch the Bluetooth Manager instead of the Bluetooth Wizard.
Regards

Categories

Resources