|
Cellular forums Home > Archive > Bluetooth discussion > January 2007 > How to capture VK_VOICEDIAL from BlueTooth headset?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How to capture VK_VOICEDIAL from BlueTooth headset?
|
|
|
| Hi all,
I'm writing a voice recognition software for WM5.0 smartphone, I need to
capture the BlueTooth headset's button click event. This button triggers the
built in voice dial engine from microsoft, and I want to replace it.
I've used the following functions to capture the VK_APP3, which is send by
long-volume-down:
UnregisterFunc1
RegisterHotKey
according to the document, the key-press of BT handset seems to be
VK_VOICEDIAL (same as VK_F24), but I can't capture it using the same way as
for VK_APP3.
What can I do?
Thanks,
Qiang He
| |
| Peter Foot [MVP] 2007-01-08, 10:33 am |
| The app launched as a result of this button press is defined in the registry
(I forget the exact location of the key). Therefore you can replace the
value and have the system launch your application, then you don't have to
worry about the low-level key handling.
Peter
--
Peter Foot
Device Application Development MVP
www.peterfoot.net | www.inthehand.com
"qhe" <qhe@nospam.tsinghua.org.cn> wrote in message
news:entsp1$kp0$1@ne
ws.cn99.com...
> Hi all,
>
> I'm writing a voice recognition software for WM5.0 smartphone, I need to
> capture the BlueTooth headset's button click event. This button triggers
> the built in voice dial engine from microsoft, and I want to replace it.
>
> I've used the following functions to capture the VK_APP3, which is send by
> long-volume-down:
> UnregisterFunc1
> RegisterHotKey
>
> according to the document, the key-press of BT handset seems to be
> VK_VOICEDIAL (same as VK_F24), but I can't capture it using the same way
> as for VK_APP3.
>
> What can I do?
>
> Thanks,
> Qiang He
>
>
|
|
|
|
|