Related
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!
This is just something I stumbled across a while ago but haven't had the time to post it. I'm not making any promises so this is just a head's up.
If anyone remembers my last post on skype here, you'll recall me saying that there's a Disable Codecs key in the registry. Well I didn't know the codecs but SkypeSmart over at Skype forums posted this tweak for his iPaq and it works a treat.
I'm running my Mini S with the original ROM and skype with my key reading: ILBC G729 EG711U
As a result it only uses the EG711A codec and guess what, it works, at stock speed too. My phone is an utter mess but it works at an acceptable level that is to say both parties can hear the conversation without any hiccups. Tested over a WiFi link but be warned you'll lose connectivity with echo123 and it also seems to me that Skype Linux doesn't have the EG711A or EG711U or even the G729 codecs so you won't be able to chat with them unless you enable ILBC.
One thing worth testing is to see what happens in a conference call (with a Windows machine as host and a Linux machine and the wizard with some of the codecs disabled) but I don't have the time to test so be my guest and post the results if you do test it.
By the way, I use Skype v2 Feb 14 release. If anyone wants to post their overclocked results or anything, great.
Indeed it does work and VERY well. I just called across a very sketchy broadband connection and audio in BOTH ways was clear. Before, I could be heard by the other party but could not hear them in return. Once I overclocked, I could actually have a couple of pragrams running in the background and still have acceptable resources left. Bravo to whoever came up with this tweak.
How far did you overclock? Also, I know a lot of people are viewing this thread but only one response so far...does that mean the rest of you are enjoying Skype? :shock:
i use skype with my wizard very well and i can use skypeout as well.
i installed for the high cpu usage, not low cpu usage. but i also use omapoverclock.
what i did, just installed skype, then change the content of d shortcut using total commander in windows/start menu/programs/skype.lnk with this one:
46#"\program files\omapclock.exe" -clock 240 -launch "\Program Files\Skype for Pocket PC\Skype.exe" -restore?Program Files\Skype for Pocket PC\Skype.exe,
in this case, i put omapclock file in 'program files' folder, and don't forget to use "," sign in the last content of skype. because it gives u back d skype icon, otherwise u'll see omapclock icon.
Gut luck!!! and i hope this can be useful 4 u...
_________________________________________________________________________
GET A FREE NOTEBOOK!!! --> http://notebook.GustoNetwork.com/index.php?mid=578275
i remember trying this on my wizard...i placed a call to a land phone and i could not hear the other phone ring or anything.. but t did call..
What am i doing wrong?
Thanks Ricky, that trick with Omapoverclock works a treat. By the way not sure if it is my imagination but sounds like the I am getting the call playing through my handsfree speaker and not the ear piece. Does anyone else get this or am I going mad????
jt_armstrong said:
Thanks Ricky, that trick with Omapoverclock works a treat. By the way not sure if it is my imagination but sounds like the I am getting the call playing through my handsfree speaker and not the ear piece. Does anyone else get this or am I going mad????
Click to expand...
Click to collapse
You're not. Apparently the M600 is the only phone which might support non-speakerphone chat on skype. I heard that its latest ROM does exactly what you want it do. I don't know if its a Skype specific issue or whether it's ROM specific but I have not seen any apps other than the phone app itself take advantage of the earpiece.
@guyver2077:
If you're referring to the tweak I listed, what does it do when you call PCs? I made a skype out call actually 3 of them and I could hear all of them clearly - 1 to Guam , 2 to HK and I'm in the UK.
@Ricky:
Does 240MHz eat away at the battery life, especially with WiFi on?
I just spent the last few days setting up a Linksys NSLU2 with DebianSlug and it works great; Samba works with the phone too 8). A little tempted to get a bluetooth dongle to stick to the slug so that I can connect to the net over bluetooth when possible but the BT stack on the mobile doesn't support BT networking does it?
ok.. so does this only work with speakerphone on?? i didnt hear anything through the actual phone ear reciever
guyver2077 said:
ok.. so does this only work with speakerphone on?? i didnt hear anything through the actual phone ear reciever
Click to expand...
Click to collapse
When I said speakerphone I meant simply that the sound is coming out at the same volume as media player, etc if that makes sense. There's no reason for you not to be able to hear a thing though. :?
Thanks AsGF2MX, It works great with the headfones I just don't normally use them.
guyver2077 said:
ok.. so does this only work with speakerphone on?? i didnt hear anything through the actual phone ear reciever
Click to expand...
Click to collapse
If you think about it, it makes sense. This is Skype for Pocket PC, most Pocket PCs don't have the phone built in.
Do you have a BT headset? If so open the audio gateway (either using the program posted in this forum or via Voice Command press BT button and just say "Open Skype", the Audio gate will stay open).
This should allow you to use your BT headset for Skype calls.
kyphur said:
guyver2077 said:
ok.. so does this only work with speakerphone on?? i didnt hear anything through the actual phone ear reciever
Click to expand...
Click to collapse
If you think about it, it makes sense. This is Skype for Pocket PC, most Pocket PCs don't have the phone built in.
Click to expand...
Click to collapse
I suppose you're right, that would explain things but is there an option to actually channel audio to the ear piece? If not, then it's definitely an issue with the way the device ROMs are designed (assuming that there is a way for software to utilize the ear piece).
Well, I'm glad a few people found it useful and I hope it's working for the rest of you as well. I might just pick-up OMAP clock a little later and try to see how well an overclock fares on my device but first, I'm going to try a few apps I've been wanting to try for a while.
Great tip!
I have previously tried Skype on my Qtek 9100 but have always found the audio quality quite bad, even when overclocking to 240.
After changing the DisableCodecs as suggested here, the audio quality is now really good, also when using SkypeOut to a Fixednet phone.
Thanks for the tip!
Yes Great tip, thanks
Can someone point me in the direction of the program that opens the audio gateway?
I don't have MS Voice Command, I only have the default "Voice Speed Dial".
EDIT: FOUND IT!!!
Therez two actually. one is btAudio, and the other is VjVolubilis
After Skype Install - Alarm clock chaos
Hi
I have been reading this thread with interest. I own an old XDA (one with aerial) and now the XDA Mini S. Have had it now for about 6 months and sync up to 2 pc's, have multiple email accounts, use the Wifi/msn - so use pretty much all of functionality. Happy so far!
I installed the pocket pc version of Skype last night - and found that this morning my alarm went off - but with no options displayed on the screen to snooze/dismiss alarm! Consequently - the alarm/vibrate goes off every 5 minutes - and only thing i can do is remove the battery -so phone basically unusable. Soft reset does not help - and would rather not hard reset as then will have to redo email settings etc.
Anyone out there had this problem before? Your help would be appreciated (think you are calling the XDA mini a wizard)
OS Build: 5.1.70 (14406.1.1.1)
ROM: 1.5.4.2 WWE
ROM date: 11/8/05
Radio: 01.09.10
Protocol: 4.0.13.20
ExtROM: 1.5.4.103
Have you removed the Skype software already?
After Skype Install - Alarm clock chaos
Hi - Yes, I have removed Skype from the XDA Mini. Soft-reset again - no difference.
I had that alarm problem once.
I'd had my cingular 8125 (HTC wizard) for a week or two and had been putting apps on it and messing with the registry, then one morning my alarm went off, I reached over to silence it, pushed some random button accidentally, and the alarm kept on going. I opened my eyes and sat there for a minute waiting for my brain to boot up because I wasn't seeing the notice showing me which softkey to press. After awhile, I realized that I was completely awake, and there really was no way to turn the alarm off!
I messed around with that thing forever. Scrolling through menus, doing soft resets, etc. Nothing would silence the alarm. I tried reseting the time/date and doing a soft reset, but every time the device booted up, it would go nuts with alarm tones (they kept multiplying! Every time I would reset the time after having set it back, another alarm would go off and they started piling up!).
Boy, that really ruined my morning.
I ended up having to do a hard reset to fix the problem. And when I ran my latest backup, the problem came right back! So I had to do another hard reset and roll back to an earlier backup.
I really don't know what the problem was, but I think I might have a slight idea. I had downloaded some program called CheckNotifications by Scarybear software (I now know it's not meant for WM5) and I think I must have deleted that alarm notification from the "notification database". (No, I don't actually know what any of that means, I'm just regurgitating words I read online in a manner which seems to make a little sense). So some parte of the OS somewhere remembered the alarm, and turned it on at the right time, but the part of the OS responsible for giving you the facility to turn it off was screwed. But that's just a wild guess.
Maybe you also have some issue with your notification database.
Good luck! Of course, if you were anywhere near as annoyed as I was, you probably already said a few (dozen) choice curse words and did a hard reset.
(edit: clarified phone)
Not sure this is the right place but perhaps someone will correct me if I err. I have a new Pure running the stock Rom so far with the latest TD tools installed. TD Tools did not cause this I mention it only to give the full configuration.
I have sounds for programs and events turned off if the settings so all I should be getting are phone and messaging sounds.
I firsdt noticed this when I installed a solitaire game from Astraware. When I start the game my bluetooth activates and will not return to standby until I actually close the program. I get the same thing in Sudoku also by Astraware.
Astraware assure me their programs don't do this. They were baffled as to why it would happen.
I tried Teeter and found again that even with sounds off bluetooth activates when an event like going into the hole happens. It does go off within the delay time built into the unit so I am assuming that the sound is just a brief on-off transmission.
This wouldn't be so bad except that my bluetooth is connected to my hearing aids so that most outside sounds are partially muted when it is activated. Using the bluetooth of course drains it's battery and this unit's talk time is not the longest to begin with.
Has anyone heard of this, seen this or does anyone have any ideas how to stop it?
Why did you double post?
Not sure this is the right place but perhaps someone will correct me if I err. I have a new Pure running the stock Rom so far with the latest TD tools installed. TD Tools did not cause this I mention it only to give the full configuration.
I have sounds for programs and events turned off if the settings so all I should be getting are phone and messaging sounds.
I firsdt noticed this when I installed a solitaire game from Astraware. When I start the game my bluetooth activates and will not return to standby until I actually close the program. I get the same thing in Sudoku also by Astraware.
Astraware assure me their programs don't do this. They were baffled as to why it would happen.
I tried Teeter and found again that even with sounds off bluetooth activates when an event like going into the hole happens. It does go off within the delay time built into the unit so I am assuming that the sound is just a brief on-off transmission.
This wouldn't be so bad except that my bluetooth is connected to my hearing aids so that most outside sounds are partially muted when it is activated. Using the bluetooth of course drains it's battery and this unit's talk time is not the longest to begin with.
Has anyone heard of this, seen this or does anyone have any ideas how to stop it?
Let me clarify at bit.
When I play the game my bluetooth goes into phone mode. The game sounds are muted so I hear nothing but my bluetooth is locked into phone and won't release.
I have not heard of this issue, however...
Please do not open multiple threads regarding the same issue.
So I have been trying to figure this out for a while. But I figured maybe we could get some community involvment with it.
If you weren't aware:
In 1.5 you could dial ** on your dialer, hit Call and it would redirect all audio (music, games, notifications) to your paired BlueTooth headset.
This no longer works in 2.1 - if you dial ** you get the 'p' and then when you hit call it almost immediatiely disconnects. But you can hear the audio for a split second in the BT.
If anyone can figure this out - or maybe dig a little deeper into Dialer.apk?
Maybe just a few people typing random stuff into their dialer to see if anything will work.
EDIT:
SOOOOOOOOOOOO
Watching LOGCAT when I dial this it calls a SpecialCharSequenceMGR
MY GUESS:
This one is different than the 1.5 dialer - Maybe tonight I cna merge with success....we shall see. Unless someone else wants to take a look before then.
my question would be whether the dialer in 2.1 got an upgrade. i guess it did since this feature doesnt exist (obvs), so any reason you cant flash on a dialer from 1.5?
i dont know much about how the internals of them work otherwise id help in the search, well after i finish this semester in two weeks. yep yep.
pardon me if my reply was a bit simplistic and if you tried that already, then sorry :/
good luck!
bump.
Updated top post.
Looking forward to your results. Hope you succeed.
On my Hero, long clicking on the device in Bluetooth Settings (in both 1.5 and 2.1), allows me to change the settings of that bluetooth connection including turning on and off both Phone and Media audio.
My only problem is that they have never played well together. If I'm playing media and a phone call comes in, the media properly pauses, but the phone either switches in on the phone's speaker or is totally silent causing me to miss the call.
Bump for the hell of it and a question.
Does anyone know where Dialer is in a 1.5 rom? I downloaded a fresh 1.1 to grab the apk and its not in system/app...wtf???
Las_Vegas said:
On my Hero, long clicking on the device in Bluetooth Settings (in both 1.5 and 2.1), allows me to change the settings of that bluetooth connection including turning on and off both Phone and Media audio.
My only problem is that they have never played well together. If I'm playing media and a phone call comes in, the media properly pauses, but the phone either switches in on the phone's speaker or is totally silent causing me to miss the call.
Click to expand...
Click to collapse
I think this might be because you have an A2DP capable headset. Mine doesn't give me this option.
Ive been looking
I also have been looking for somthing along these lines, as well as some other members. I started this thread : http://forum.xda-developers.com/showthread.php?t=660519 earlier trying to get help, there are actually a few bounties out now....Check it out
Ok so if any one who knows more linux than I do can try to figure out how to pipe the audio from one output to another it would be cool.
I was thinking it would be something lile MediaPlaybackService | AudioHardwareMSM72XX
But I am not sure if that is even remotely close. It doesn't work for me, I guess we just need to get the right services.