Bluetooth Time Announce - Windows Mobile Development and Hacking General

So, I've got a lovely bluetooth headset with a vibrate alert function that I really like using because I can keep the headset in my pocket. (damn near impossible to find one that does that, but that's another story) I had a problem where I kept accidentally pushing the 'voice dial' button. I managed to fix this by using a registry hack.
So, now what I want to do is re-map the button to run a program that will simply announce the time into the bluetooth headset. This program could be a mortscript, or something... I think. Anyway, any suggestions anyone?
Also, any ideas on something even cooler to map that button to?
Admins- feel free to move this thread around. I think this is the right place for it, but I'm not sure.

i think this is what you might be looking for....
http://forum.xda-developers.com/showthread.php?t=369281
on post 3

Related

BT headset-LAST NUMBER REDIAL

Hi,
does anyone know how is it possible to disable the LAST NUMBER REDIAL function? If my BT headset is in my pocket it happens many times, that the "-" button is pressed and it activates the LAST NUMBER REDIAL. It is very annoying....you can imagine. Is there any REGISTRY hack or somehing like that to solve this problem?
THX
That has to be one of the most annoying things!
Especially when you are having a moan about someone after the original call!!
Vijay??
Nobody has the same problem?
me too - it happens for me because I changed the LaunchAPEnable registry setting from 1 to 0 to send the sound to my headset over BT
WOlfgang
Can you clarify this problem? Which button is it that's being pressed? Hardware key or on the headset?
Explain clearly and I'll look into it and if I can help...
V
Vijay, you're too kind for your own good.. heh heh. (but we all appreciate it )
I had this problem with my BT headset and speaking for myself, it's when you hold down the button on the headset, you'll initiate last number redial.
If you just press the button you'll launch Voice Dialler..
I used to keep my BT headset in my pocket and I had both these issues.. eventually I resolved both of these problems by buying a £3 neck strap off ebay and wearing the headset round my neck.. :wink:
cheers,
gaspx
--
BT on for nearly 2 weeks!!
gaspx: there is a technique I'm working on which might help us out here.
It's messy and very very early stages right now, and sent me over the edge last weekend. But if the technique works, it'll open some very interesting doors. Please remind me in a few days. I'm afraid that I can't think of a quick solution, but in my usual style, an unnecessarily complicated solution might surface...
V
i have had the same problems aswell...
although i have been looking into the phone tools that only turn the bluetooth on when you have a phone call,
i am wondering if that will allouw bluetooth to turn on when transfering audio
VJVolubilis will automatically enable bluetooth and transfer audio (or attempt to).
V
Anyone figure out a way to do this yet? It sucks because I keep accidentally calling people from my headset.
I've looked around for a solution to this problem for a while now. Anyone come up with something? Vijay?
Any development on this issue yet? I accidently called twice today. Very annoying because I kept my BT headset in pant's pocket. Please help, Vjay and others professors.
How about powering down the headset? Maybe I don't get it but....
I just triple-checked, my Motorola H500, H820 & H700 will reconnect when I power them back up & press the button once as long as the phone's BT is on, even mid-call. Do these newfangled machines not offer that? What I do is answer the call on the unit w/ one ear and if I think it'll be more than a minute, I put the headset on the other ear to power it up, press to connect, and I don't miss a word (not on the H820, I'll take a pause to switch to that one when I pull it out of my gadget-laden diaper bag. Every mom needs a BT headset!). I think it'll hook up even during ringing, but calling from my skype seemed a little overkill for this response.
(I'm using a modified/very-simply-reduced version of the Jaguar ROM on a wizard at the moment, and many of Vijay's venerably ingenious tools.)

I got VoiceCmd to not Hang after call with some BT Headsets!

Hi,
Was playing around with a way to get my Motorola H700 to not hang after the first use. I don't know how to code (at all) but I wrote a little VB app that Monitored the State and Notification PhoneCallTalking to see when a call was initiated, then monitored to see when the call ended at which point I executed BTAudioOn.Exe from BTUtils causing the channel to open again so I push the button and that's it, I could make call after call just like my old HS850. This will probably work with any headset that hangs after the first call.
Only problem, like I was saying, I can't program, I did all this in Do While Loops so it's pretty unusable since it kills the processor. I don't know how to work with Events or Registering for notifications.
Anyways, if there is anyone who can code and is looking for something to do, maybe you could make something similar (this way or a better way) that can run resident and monitor for the end of a phone conversation and then execute BTAudioON.exe or I guess if you know how to program the MS Bluetooth Stack, open the channel again.
If not, I guess I'll keep learning and try to figure out how to do it properly by handling the notification trigger and wait for it without killing the CPU
I've been looking for something like this! Keep us updated if you find a way to do it without putting too much of a load on the CPU.. I'm getting into WM programming but I have no idea how to capture call/notification states yet.
Re: I got VoiceCmd to not Hang after call with some BT Heads
shoey5 said:
Hi,
Was playing around with a way to get my Motorola H700 to not hang after the first use. I don't know how to code (at all) but I wrote a little VB app that Monitored the State and Notification PhoneCallTalking to see when a call was initiated, then monitored to see when the call ended at which point I executed BTAudioOn.Exe from BTUtils causing the channel to open again so I push the button and that's it, I could make call after call just like my old HS850. This will probably work with any headset that hangs after the first call.
Only problem, like I was saying, I can't program, I did all this in Do While Loops so it's pretty unusable since it kills the processor. I don't know how to work with Events or Registering for notifications.
Anyways, if there is anyone who can code and is looking for something to do, maybe you could make something similar (this way or a better way) that can run resident and monitor for the end of a phone conversation and then execute BTAudioON.exe or I guess if you know how to program the MS Bluetooth Stack, open the channel again.
If not, I guess I'll keep learning and try to figure out how to do it properly by handling the notification trigger and wait for it without killing the CPU
Click to expand...
Click to collapse
Good luck and keep us posted. One "use case" to keep in mind is if you initiate VC which doesn't lead to a phone call since VC supports other commands.
I tried something similar to what you are trying to do and it's just too complex because of the different outcomes of initiating VC
I think it'd probably be best to just fix the dialing part - I don't really care about the launching of the apps, etc.
Some of the voice commands, like "What day is it" didn't seem to break the voice channel anyway.
I hate to say it, but it's probably best to just fix the simple stuff and wait for a BT enabled version from Microsoft to fix the rest.
VCBTFixer - My First Attempt
Hey guys here's what I came up with so far. It's not much but it works, been using it all day without ever taking my Wizard out to reset the headset
When running in the background, it will monitor for a hangup (the point where your headset usually crashes after the first call) It will wait a second and then open the BT Audio Gateway, just press the BT headset again to turn it off, and then press it one more time and you'll hear VoiceCommand waiting for you again
Ok remember this is my first attempt at programming so use it at your own risk And remember it's not 100%, I still have to check for a failed call or if you terminate before the call actually starts, check to see if the headset is being used before trying to turn on the audio gateway ect.
I'll probably get rid of the dialog or keep it, I don't know, I was thinking it could be useful to configure a sound that can be played when the audio gateway opens again, this way you get reminded to press the headset button again to turn off the BT Audio Gateway Maybe display and allow you to select which headsets (if you have more than one) this program should work with if some work and some don't, all that kind of crap.
Anyways, let me know if it works.
Im no WM programmer but cant u open the BT channel then close it again pro grammatically, or will that cause the same type of "crash"? I would love to see this work because I WANT my damn H700 back, till then I'm stuck with this hs850.
Thanx; Lew
lewcamino: Tried that but it still hung, only way I could get it to work is to open the chanel and then close it. Anyways I tried this program with my H700 and it worked, give it a try, you have to be logged in to see it.
I'm no programmer either, maybe someone could write a much better version. I think the best way (if it's possible) would be to close the BT Audio Gateway just before VoiceCommand started dialing (the phone should open the Audio Gateway when the call starts and then it should be good (I think) but I don't know if that's even possible to detect.
So for now, until someone figures out a better way or Microsoft releases a new version with BT support, I guess this works. Used it all day with my H700 didn't have to push any buttons on the device between calls which is what I wanted.
Thanks shoey5! Your program works great with my H700.
Do you have any updates? Also, how did you create the .exe? What tools did you use? Are you willing to give up your source code? I would love to dig into it, modify it, upgrade it.
Again, thanks for the great program.
Congrats on getting something to work. What happens if you close the boom of the H700 after a call? What if you use VC to check your battery signal or ask what time it is?
Looking forward to seeing future versions - once it's good and ready I can go back to my H700. Using the HS850 for now.
Ok Second Attempt, if learning VB.Net for the first attempt wasn't bad enough, had to start learning C++ for the second
This one is a lot better though it's late so I haven't been able to test and it needs some error checking but it's much more useable. Ported it to C++ so now only takes 3.90K as apposed to the 200K VB.Net (Sucks) version was taking so it's acceptible to have it running in the background. Also uses a different method of refreshing BTAG after a call though I'd like to find a better way. Also got rid of the UI so you can throw it into \Windows\Startup to have it running when device loads.
Let me know how well or how bad it works.
Cool - thanks a lot! This seems to work!
Doesnt work with german rom... are there any paths hardcoded which may be named different in other languages? (Programs for example)
Hi Shoey5,
Just for your information I have a O2 XDA Mini S WM5 and it does not work as intended, works once after that it needs a soft reset.
I send you a PM with contact details.
Shoey,
your little app works really well! Only occasionaly will there be some kind of hiccup between the MDA and the headset, and I will have to reset the MDA.
It also seems that you have to be alittle patiend between calls to give the headset/MDA time to be ready to respond.
I can make repeated voice commands and even activate redial with a double tap on the headset button.
I would encourage you to keep working on this program so the VCBT functionality can be made even more stable!
Shoey,
your little app works really well! Only occasionaly will there be some kind of hiccup between the MDA and the headset, and I will have to reset the MDA.
It also seems that you have to be alittle patiend between calls to give the headset/MDA time to be ready to respond.
I can make repeated voice commands and even activate redial with a double tap on the headset button.
I would encourage you to keep working on this program so the VCBT functionality can be made even more stable!

Reprogram Bluetooth headset button

I have a Cingular 8125 (2.17 ROM, I believe) and recently got a Motorola HS850 BT headset. It's setup and works great, but I want to know if there is a way to reprogram the call button on the headset so that when you hit it instead of opening the Voice Dial on the phone it can instead open Voice Command (which I use for everything else.) I tried poking around on the boards and didn't see anything specific, any help (or just knowing it's not possible) would be greatly appreciated!
Thanks!
Doug
Found it
I found the answer with a little more searching. It turns out to be a registry entry for Voice Command - and it DOES work with Bluetooth (even though MS' description says it does not.)
Just change this registry key: HKEY_LOCAL_MACHINE\SOFTWARE\OEM\VoiceCommand\Path
change the value from \Windows\SDDialer.exe to \Program Files\Voice Command\VoiceCMD.exe
Soft reset the phone and voice command will work when you hit the connect button on your phone.
Credit to HowardForums where I found it: http://wiki.howardforums.com/pocket...ice_Command_via_Bluetooth_(HTC_WM5.0_Devices)
I heard that it does not close the audio gateway however when you are done with the call...
is this true?
thanks a lot man, this was buggin the hell out of me! quick forum search and i found ur post. thx for doing the leg work
I placed a call with it and when the call was done used the button on the headset to terminate the call...it seemed to work okay.
i just tried it and it seemed to work just fine. the only thing i don't like, and it probably has to do with my headset, is how long i have to hold down the button for...but i can deal with that, so that i don't have to take out the phone!
I guess that the issue is with the regular voice dialer, you can just press the button to dial out, and when the caller hangs up, the audio gateway closes, you dont have to hit the button to close it.
I'm gonna give this a shot to see if I like it.
I did notice that it seems like I have to hit the call key twice in order for it to recognize the key press....maybe the first is to close the old channel and the second opens a new one? I don't have enough knowledge to say for sure, but there is no visual indication on the phone that the voice channel has not been closed.
That's probably what's happening. If you forget to close the voice channel after your call, you'll run down your headset's battery faster. I can tell that the channel is open because I can hear very faint hissing.
Of course, the point is moot for me because on my device (like many others) this trick only works until a call has been placed and ended. After that the button no longer triggers voice command. :-|

Software request for answering method by sliding

Hi guys. i been playing my new dopod 838 alot. love it heaps. thou its becoming slow atm for sum reason. needs to hard reset later. anyway i was wondering. any of the software developer here keen to try to make it possible for wizard to answer the phone by sliding out the keyboard and maybe the option of ending it as well by sliding the keyboard in? and top of this the ability to answer it automatically using speakerfone when using the slide method? just a thought since slider phones have this feature. some might think is dumb idea while i for one would like such a feature. i didnt believe anyone havent thought of the idea yet. thanks anyways guys. this forum rocks!!
I don't want to come over as negative and whatnot...but thats not really the best idea....in my view anyways.
When my keyboard is out, the last place i want to put the phone is next to my ear. If i wanted someting that big to talk into, i would of bought the Universal !
thats where the speakerphone comes in. say when u are doing something else and not practical to turn on ur bluetooth headset you can just slide the keyboard out and the phone is answered with the speakerphone on. seeing that our wizard have good speakerphone we can make conversation this way.
anyone? is there any registry entry that signals the landscape change when you slide the keyboard out?

Touch(Vogue)+MS VoiceCommand+Jawbone BT doesnt work

Hi,
I had MS voicecommand and my Jawbone working fine on my old tytn after some registry tricks.
However, now I cannot seem to get VC to start when I press my button on my Jawbone.
I can get it to start with a hardware button on my touch(Vogue) but I cant get the BT headset to start it.
Its really frustrating as I really need this when Im on the road driving all day long for work.
Thanks and help!!!!
Regards,
LIP
lip said:
Hi,
I had MS voicecommand and my Jawbone working fine on my old tytn after some registry tricks.
However, now I cannot seem to get VC to start when I press my button on my Jawbone.
I can get it to start with a hardware button on my touch(Vogue) but I cant get the BT headset to start it.
Its really frustrating as I really need this when Im on the road driving all day long for work.
Thanks and help!!!!
Regards,
LIP
Click to expand...
Click to collapse
This is going to sound crazy, but check to see if you have the Cyberon Voice Dial active. If it is NOT, then activate it and try to activate Voice Command with the headset. I could not get my handsfree to activate until I turned the Cyberon back on, which doesn't make sense but it worked and works every time, and I never get that stupid Cyberon thing popping up or doing anything. Also, do you just press the button on your Jawbone, or hold it in for a bit. I know on my one handsfree I could just press it, but on my new one I have to hold it down until I hear a beep (like 3 seconds). Hope this helps.....
Thanks for the reply!
Unfortunately I deleted all the registry keys and files relating to that software due to me thinking it was the culprit...
I'll do a hard reset and try that tonight and report back.
Thanks!
LIP
Actually the culprit of this problem is Windows Mobile 6. This problem has been discussed on past occasions and as of yet there is no solution that I am aware of.
Hi,
I don't understand why others can get it working but I can't.
I have done all the work arounds with the registry files, etc...but I cant even get it to activate through the BT headset.
I have went back to the default software as that works fine although I had to manually do the voice names.
Regards,
LIP

Categories

Resources