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!
Hi,
Is there anything that can be done to improve the mic volume when on speaker phone - I have had complaints when more than a foot or so away that people can't hear me.
I have the phone open on my desk most of the time and am just trying to work out the best way to deal with calls as they come in. At the moment unplugging the USB and then flipping the screen and then trying to answer the call seems a bit ham fisted and I keep on loosing calls
I personally never use my MDA Pro as a conventional phone. I find it too bulky. My own method is to always use a bluetooth headset.
If I was in your situation, I would have the Universal open on my desk, with the bluetooth headset lying beside it. When the phone rings, simply put on the bluetooth headset,press the call receive button on it, and away you go.
You don't really need to flip the screen, just close it and then use the green button to answer the call. Will work fine with the USB connected if you don't mind people looking at you strangely.
Hi Guys,
Thanks for the responses.
I don't have a headset so haven't gone down that route yet. Will they work with Skype and VOIP software etc on the phone?
As for closing and then picking up, I'm wondering if the phone has a problem because I have tried this a couple of times and have lost the calls although I am generally unplugging the USB, closing the phone and then answering - have only had the phone a couple of days so still getting the hang of it.
Hmmm....can it be used when in pda mode to answer and make calls... I have tried this, but I think either my machine's mic & speakers dont work on the inside (screen side) of the clamshell, the other person on the line can't hear, and I hear their voice (distantly), which means it is coming out of the back of the screen, not the front. Its either that or the device just isnt designed to work in this orientation.
Has anyone else tried recieving or making calls with the screen facing out in portrait mode?
Re the Bluetooth headset answering method, great idea, I do this, but I have found that sometimes my o2 blue headset loses the pairing when I press the answer call button, so I lose the call anyway.
Can anyone tell us how it should work, will the recent rom upgrade fix this, is there even a mic and speaker on the inside lid?
Can anyone tell us how it should work, will the recent rom upgrade fix this, is there even a mic and speaker on the inside lid?
Click to expand...
Click to collapse
The Mic is right next to the power button, so it is as close to your mouth when in PDA mode or closed. Also There are two speakers on the hinged lid, in PDA mode it's the slightly recessed oval shape 10mm from the top dead centre.
I've never discovered a software method of disabling this speaker. Possibly a hardware fault? Might be worth discussing with your handset provider
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
If you have to push ANY button it isn't "hands free". I'd very much like to be able to wake my brand new Galaxy S4 with just a voice command while driving. Once woken I'd like to open and use S Voice with just voice commands. I'm not COMPLETELY dim. I've managed to build a few computers from parts and passed a bunch of tests that granted me the privilege of putting some fancy letters after my name. But I confess I never thought I'd have to learn how to use a telephone again once I turned 63 years of age. Nor learn to drive. I SWEAR that toilet paper display would have fallen even if I'd not tapped it with my electric geezer mobile. I tried several of those Blue Tooth devices that you put on your visor, but they didn't get it done. Next I replaced my ancient Subaru Outbacks stereo with a new Sony that has Blue Tooth Capabilities, bought an iBolt dock to stick onto my dash to hold the phone, and sometime next week will have four speakers installed to rectify the fact my left drivers door speaker and my right rear passenger speaker were nonfunctional.
But STILL had to push a button to wake the phone up, before trying to speak both clearly and loud enough to overcome the noise level in my 185,000 mile Alaskan Subaru and hope S Voice's voice recognition would work.
I saw an application called Tasker and one called AutoVoice and without looking into the complexity involved bought them. Oops...
I'd like to be able to stick the Galaxy S4 into the fancy (And KickAss) iBolt, start my car, and be able to turn the phone on with a voice command, and then use the S Voice feature built into the device to call my Geriatrician.
So I'd appreciate any help y'all might condescend to supply. From lurking about I do believe this Forum is the Mount Olympus where the Android God's and Goddesse's dwell.
other than tapping the home button twice (default setting I believe) there is no other way afaik
Hello,
I'm Andreas and I'm new here. Just reading a few years.
But now I need the help of professionals to solve a problem.
I got a OnePlus Two and I paired it via Bluetooth with my car. On Oxygen 2.1.0 there is still a problem with the contacts syncing with the car. I solved that with the app "Bluetooth phonebook".
Now I'm trying to make phone calls via Google Now. In my car when the cover is closed Google Now takes my command and answers that it's now dialing. Then the progress is interrupted.
There's no outgoing call.
I noticed that this happens when the cover is closed, with cover opened the phone calls the contact. I guess it's because of the cover that works with a little magnet.
So the Bluetooth button wakes the phone, Google Now comes up taking my command and then the phone reacts to the magnet of the cover and goes back to sleep.
Now my question is:
Can I disable the magnetic sensor of the phone via "Tasker"?
I think it should work when I'm telling the phone: When connected to Bluetooth in my car -> disable the sensor for the cover.
It would be fine if it can be done without rooting the device, but I guess I'll need root.
So can someone tell me if I can disable this sensor? I guess a shell command in Tasker can do the job...
Can you help me?
Thanks!
Andreas