Ever wondered how contact application searches using all the character mapping of a key?When you press the “2″ key it matches all the contacts
with ‘a’,'b’ and ‘c’. If you want to have the same kind of functionality in your application then the magic lies in the following registry key:
HKEY_LOCAL_MACHINESecurityPhonePhoneKeyMatch
”KeyboardMappings” = REG_SZ
This has the mappings for all the keys and there corresponding character values.
You are right. But do you know how contact application set keyboard in proper mode. Without this WM_KEYDOWN or WM_CHAR gets rubbish. For example on HTC s710 qwerty keybord, key “s/*” sends 0×77, digit+letter keys send digits – should send letters for proper matching – total mess. I’ll be grateful for help.