PDA

View Full Version : Software to answer phone through voice commands


JamesManios
4th April 2005, 12:05 AM
I had an idea to write some software that would monitor when a phone call game in, and then (using the mic) try to see if I wanted to answer the phone by saying something like "Answer Phone". What the software would do is answer the call, set the volume to max, and switch on SpeakerPhone, (and probably immediately turn OFF the screen)

The principle being that if I'm driving and get a call I can answer it without reaching for the phone, (and without having a handsfree earpiece type setup).

Usually though, when I think of something like this, someone has already done it better, :wink: , so I was wondering, before I embark on this if someone knows any software that does this already?

PS: MS VoiceCommander will not answer the phone without hitting a button....

TheLastOne
4th April 2005, 12:31 AM
Sounds like an excellent program. Program away!

JamesManios
7th April 2005, 04:18 AM
So I've got about 80% of this program done, but have hit a big snag.
How do you turn the LoudSpeaker on in software?

I thought I would just send a keybd_event(VK_F3, 0, 0, 0); for about 4 seconds, but this doesn't work. It answers the phone, but it does turn on the loudspeaker. Though if you phyically hold the talk button down it does turn on the speakerphone!

the Callback for PHONESTATE will tell me when its on, but how do I set it?

Any help?