Caller ID via Phone Vibrate/"Morse Code"? - Windows Mobile Development and Hacking General

The idea is that I often want to know who is calling even if I can't hear the ringer or have it on mute. I wanted to assign a few "code vibrations" to a few certain callers from the caller ID. For example, work would be a 3 long vibrations, my girlfriend would be two shorts then a pause then two shorts again. Etc, etc.
I started this project as a SKSchema script but never finished it then lost the source after a hard reset (stupid, stupid). The biggest issue with the script was that I had it set to run from a watch (phone ring). Every time the phone rang it would start the script again, instead of running only after the first ring. I hope that made sense.
Anyway, I have no time to finish this so I thought I'd put the idea out into the wild and see if anyone is interested in making it work.

Related

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!

Loosing sounds?

Hi, can anyone advise as to why I lose the all sounds on an Orange Branded M3100 phone, other that Microsoft voice command 1.6 no other software has been installed! The details of the ROM are as follows
Operator Version: 14.123.1.614
ROM Version: 1.23.61.4
ROM Date: 07/13/06
Radio Version: 1.06.00.00
Protocol Version: 32.37.7010.01H
Here what happens no sound on the phone, reset the phone sound is now back, after a while, don’t know how long but the sound disappears, you get no ringing sound, menu click sounds nothing, reset the phone again and all is back, so it would suggest that it’s not a hardware failure but a software failure, how can I stop the orange branding installing itself after a cold reset in case something there is causing the problem, has anyone else came across this problem?
This is a brand new phone only received it Friday, does it need to go back?
Kind Regards
Dogo
I've recently noticed on my 8525 too, after a while it seems to just go on silent but the setting isn't changed it still set to on and no sound comes out of the phone no matter what program is used.
Phew, I thought it was just me..
I have noticed it may be something to do with the Bluetooth ear piece, although it always seems to happen when I have left the phone a while. and never when I try to check for the problem
To isolate whether this is hard or software you could try doing a full backup. Do a hard reset and let the device run for as long as it would normally take to show the problem, without any additional software. But do run wifi and power intensive applications to warm up the device - as this can cause internal connector problems.
If the problem is gone, this will tend towards a software problem although not an absolute guarantee. There are some issues that are related to both soft and hardware!! For example the screen fading to white issue can be caused by running (power intense) software that makes the device warm and that in turn causes pressure to be put on the screen.
A final thought, the speaker connection block is next to the stylus tip. There have been cases of the inserting and removing of the stylus causing the connector to become loose. This can cause intermittent sound or no sound at all. The warranty voiding fix is easy. Remove back and check connection is tight. No further dismantling needed. Ensure camera toggle arm is engaged before putting screws back in. (Rear Speaker)
The front speaker can also have issues. has spring contacts that can become slack - poor contact with m/board. There is a thread on checking this.
Mike
No Sound, not a Stylus issue
8525, ms voice dial 1.6,
HTweakC 2.0,
SBP Mobile Shell 1.0.0 build 2632.
ROM 1.34.502.1
radio 1.16.00.00
This has been happening about a week, nothing new installed. On Saturday I missed 12 calls because it was "auto-muted" nothing was on mute, just no ring sounds or anything else. I thought it might be some setting, I suspected that it didn't come back after I had set on vibrate for a meeting, so I went through everything, looks good. had to soft reset for audio to come back. Happened again Yesterday morning after being on charger, had to soft reset, happened again this morning after being on charger, had to soft reset. I'm suspicious of the charge ciruits, the phone was placed on a night-stand and I checked to make sure sound was working AFTER i plugged the charger in (i am an on-call engineer for hospitals) when I got up this AM the first thing I checked was the sound, no sound. Had to do a soft reset and sound is fine.
THIS IS VERY, VERY, VERY troubling.
i cant say that my sound has been "loose"
thefunkygibbon said:
i cant say that my sound has been "loose"
Click to expand...
Click to collapse
yep, I agree. My keyboard slider might be loose, but never had problems with the sound.
No sound - possible solutions
I too have had the no sound problem, but I also have a solution (well it seems to work for me and a few other people I know)
I have found that if I have more than about 800 sms messages on the phone (combined count across inbox, sent items, deleted etc...) my phone will decide sometimes to stop making any sounds.
Other symptoms include thew screen not going back to the background when problems are "closed" (well press the X button), sometimes not changing from portrait to landscape.
Hitting the reset key temporarily fixes the problem, but it strike again at any time...
I have seen this on both the official UK orange firmwares
As a side note, more than about 1000 sms messages and 5 unread sms messages and the phone will lock up about 10 seconds after the phone boots up. You have to be quick when the phone boots to go in to the sms inbox and delete 1 message before the phone locks up. This can be a bit tricky but i have done it a few times
from readingmany related threads, it looks like there are several causes for this issue. for me, it was definitely microsoft voice command 1.5 and 1.6. I turned off any notifications from voice command and my problem went away. no calendar voice announcements, no callerid, no bluetooth routing announcements, etc. voice command simply doesn't give up control of the audio sometimes, and it appears to occur most when it wakes up and announces something.
All I use voice command for now is voicedial. try that a while and see if you are fixed.
1.5 was worse, but 1.6 does it too.
good luck!
wes
saga continues
It did it again, twice in one day. Picked up the phone, (it had been resting on the table for several hours). No sound, I tested by placing a call and turning speaker on.. this works! So the speaker (rear) is fine as well as the front (ear).
After I heard the speaker on speaker phone I tried hearing the dial tones or other sounds, none. No incoming ring.
Device and phone volume on FULL
Turn volume off, vibrate, on, off on, and from phone screen turn to vibrate then back to sound
Vibrate still works for inbound calls
Turn voice command off and on
Go to phone (in settings and play the ring I've chosen) and suddenly it’s working again?
I'll try the turning all but phone options in voice command to no-notify. But to tell you straight, this is silly, one more day of this and it's probably (unfortuately) crackberry city for me. I simply can't have a phone that doesn't ring. I guess some ittertation of an O2 would do.. but I'm not too keen on plopping down another 5bills....
any ideas?
labrati said:
It did it again, twice in one day. Picked up the phone, (it had been resting on the table for several hours). No sound, I tested by placing a call and turning speaker on.. this works! So the speaker (rear) is fine as well as the front (ear).
After I heard the speaker on speaker phone I tried hearing the dial tones or other sounds, none. No incoming ring.
Device and phone volume on FULL
Turn volume off, vibrate, on, off on, and from phone screen turn to vibrate then back to sound
Vibrate still works for inbound calls
Turn voice command off and on
Go to phone (in settings and play the ring I've chosen) and suddenly it’s working again?
I'll try the turning all but phone options in voice command to no-notify. But to tell you straight, this is silly, one more day of this and it's probably (unfortuately) crackberry city for me. I simply can't have a phone that doesn't ring. I guess some ittertation of an O2 would do.. but I'm not too keen on plopping down another 5bills....
any ideas?
Click to expand...
Click to collapse
I have just read your last two posts. I am wondering whether you are saying you have a sound/ringer problem OR whether you mean the phone sometimes crashes and therefore does not ring (i.e. you then need a soft reset) and sometimes you discover you've missed a call but never heard it ring.
If the above is true then I think you need to look for the solutions for avoiding hangs/freezing. I can guide you to these or a search will show them. It certainly does not appear that you have any physical problem with the speaker/earpieces.
Mike
dogo said:
Phew , I thought it was just me..
I have noticed it may be something to do with the Bluetooth ear piece, although it always seems to happen when I have left the phone a while. and never when I try to check for the problem
Click to expand...
Click to collapse
Hi, I never had a sound issue untill I started usin my HT820's, but have noticed a few times lately that my device sounds arent working, (I dont mean always through to the bluetooth headset) and I just power off/on the device, I dont get that many calls, so I havent missed any, and wasnt sure if it was rom or bluetooth related for sure, but I do usually leave my bluetooth on, just not always the headsets, it also doesnt happen a whole lot.
Loose connector
I'm not sure if this will help anyone, but i was losing sound on my 8525. I had dropped my phone twice and the rear speaker connection had gotten loose so i opened it up following the directions at http://www.howardforums.com/showthread.php?t=1152710&page=1&pp=15
and now i have sound again.
Continued Issues
Mike, thanks, the issue isn't with the phone locking up at all, it's been very stable, I think I've soft-reset probably 3 times in two months.
The phone literally will stop emitting any sounds. I can still hear if I place a call and if I place that call on speaker phone it's fine. However if you call the phone, try to play an audio file, etc there is no sound that emits from the device.
It did it AGAIN today, I tested, was able to place a call and put it on speaker and called it with my other phone, the pop up screen announcing the inbound call came up and everything else on the phone worked as it should (except no ring). I then went to settings phone and hit ok (top right of screen). BAM.. sound was working on the device again, inbound calls ring, able to play audio etc.
I did note one other possible anomaly, I have my PTT mapped to initiate voice command, when trying to use this I was unable to initiate voice command. After going to phone and pressing OK, voice command started working again. W/O voice command I'm sunk, I have 500+ contacts.
I placed a call to AT&T and I'm back on the "chronic retention" list.. ughhh.. I went through 8 treo's last time. I don't want another basket of refurbs to deal with, I like WM so much better than previous interfaces.. any ideas are very, very, very welcome.
-mike
More information
This morning, the sound was gone again, but I went into settings and started playing to see what else might induce it to work again, I tried voice command again, disabled and re-enabled, that didn't work.
I then went into sounds and that didn't work, went into Today, and Buttons neither of those worked, but when I went into input (didn't do anything, just opened it and closed it) sound started working again.
Hopefully, none of you guys have a newer ROM with the loud startup animation and attempted to turn down that volume via the registry as outlined in the wiki. Unfortunately, doing that also lowers the speaker volume so I just disabled the animation instead. Phone and bluetooth sounds fine but mp3 and everything else were also lowered to a whatever level depending on the startupanimation volume you set.
update
It did it to me again yesterday, this time only going to settings phone and pressing OK would make sound come back.
Today, the phone refused to dial or emit any sound. Would not come back after soft reset (would not dial, no sound) had to do a hard-reset (removed battery). After first soft reset a windows came up to advise that mobile voice command couldn't start...
For a darn near $500.00 phone this is pretty sad. Love the phone but gee whiz...
Daily occurance
Well, it does it every single day at least once a day, and I've noticed the phone has slowed a lot, sometimes during SMS or email the cursor goes away or I have to wait 20-30 seconds for words to complete typing after I've finished. I guess I'll get my refurb next week. Perhaps go back to palm.. dunno...
possible fix?
I turned OFF the SMS message sounds and it seems to be working w/o losing sounds again! I'll let it run for a couple of days and see if this is the deal, but I now have no audio announcement for ActiveSync, POP email, SMS, or MMS. I do have audio/vib for missed calls. Anyway, it's been up and running fine all day. Good Grief.
no fix in sight
On hold with ATT right now for another phone. It did it again today at about 10AM. Strange, it may be time sequential, but it didn't do it at all yesterday.. it was great to have the phone ring.

Silent Phone Call

Just a thought, i know that symbian phones have a software which utilize the accelerometer and mutes the phone call when turned over. is it possible to have a software to use the fort facing camera or back camera in our wm6 devices to detect light during the even of an incoming phone call? it doesnt need to be on all the time so it does not drain the battery and just turned on during phone calls. so front facing camera should detect either "dark-light-dark" (when in pocket) or "light-dark" when the phone is already out. hope that make senses.
what do you guys think? is it a good idea?
not sure if camera can be used for that purpose at all. I think u need extra hardware for that.
When a phone call is coming in the device has to take care of the following actions:
-device wake up
- initiate the incoming call screen
- start number identification (compare to address book)
- start ringer
Your idea would add the following actions:
- initiate (front)camera
- wait for camera to detect current lightning conditions
- if lighting is below a certain value mute sound
I would think that it takes to long to go trough the complete cyclus.
When you make a call to a PocketPC it takes about two "normal" rings to make a device ring. If you add the extra feature it might even be 4 or 5. Before you can even react the caller might already be redirected to the voice mail I'm afraid.
i thought of that mccune, but u will need another program to analyze the bringhtness, may be a new library, or tap into camera library, which I dont think it's easy to do.
you are right, it's probably not idea to execute camera function while phone ringing, worst case scenario the phone hang, or the call got disconnected.
but i love to see it works
well i see it that if the front camera activate when there is an incoming video call then wm6 should be able to handle just detecting the light effect without hanging. just a thought, at least its a start for all of us that do not have accelerometer and it can be develop for some other use too.

Call Connection Problems

Hey, I've been lurking these forums for a while but I thought I'd come on to ask a question. I tried asking on sprintmogul.net but they didn't really help.
I've had my mogul for a few months but lately it's been developing a really annoying problem. I'm really not sure where it started exactly so I can't blame any apps in particular. When I receive a call the caller ID / ring and vibrate go off perfectly - the problem happens when I try to answer the call. Generally one of three things happens:
1 - The call connects instantly and just works - this happens pretty rarely, I remember the last time it happened the person calling was also on Sprint, if that makes any difference.
2 - The phone will just sort of hang there for about 10 seconds, caller ID popup still there, the ring stops though. Eventually the popup disappears and I get a missed call notification, as if I never clicked the answer button. This is what usually happens.
3 - The phone hangs like in situation 2, but the call eventually connects. This only happens if I press answer almost immediately after the phone starts to ring.
I'm on winMo 6.1 with the latest radio and am not running any major mods or hacks, just a few reg edits. I'll probably try a hard reset soon but ideas on things to try would be appreciated!
I am seeing this also, on both my own xv6800 and my wife's. It's VERY annoying.

speakerphone works, ringer doesn't?

i have a mogul that's going on 2+ years of use and is slowly falling apart. the most recent issue is that it seems like the audible ringer is out...incoming calls display on the screen and vibrate if i have it set to vibrate but if set to audible, no sound is made. i thought it used the same speaker as the speaker phone to make the rings but speaker phone still works ok.
soft reset does not bring the ringer back. also, the phone also seems to set itself to silent by itself often. right now, the only way i can tell if a call is coming in is to see the screen light up or set it to vibrate.
should i be looking for a software problem or is this another hardware piece that has gone out?
Try this before you give up
Have you upgraded the ROM lately?.. Not sure if this applies to you but my early attempts resulted in the same situation you are in. I "cured" it by tweaking the software additions so it must have been files that didn't play well together. Try loading a new rom with just basics to test it included or if you haven't done this before, just do a hard reset and see if the sounds work again as you may have added incompatible software. Removing the programs won't work if this is the case, only the hard reset.
hope this helps you...

Categories

Resources