Jump to content

Pragmatic Smartphone Application Hints and Tricks


Guest g4mb17

Recommended Posts

Guest g4mb17

I've just written an article with some tips and tricks i have picked up over the past year developing for smartphone.

These are practical smartphone specific hints I have learned writing Sprite Backup and ThemeChanger. Most of them are geared towards taking an application that "works for me" to something one could sell. The article assumes the reader has good knowledge of CE and MFC/WTL

The index looks like this, hope someone finds it handy :-)

* Forward

* Application Finishing Hints

o PSM

o Priviledged Mode

o i18n

o Setup.dll

o Version Number/Build

o Build Scripts

* General Tips

o char * <-> unsigned short *

o GetColor

o About (icon)

o Iterating Through the Registry

* About the Author

http://homepages.inspire.net.nz/~gambit/Article/

Riki

Link to comment
Share on other sites

  • 6 months later...

I have problem with mpx220 (and other SE phones, for example, I-Mate SP3, I-Mate SP3i): I can’t trap press/release of volume buttons separately. I am using SHCMBM_OVERRIDEKEY message to override default action of this keys. But WM_HOTKEY messages can be received only simultaneously: only if I press and then release volume up/down buttons. If I press and hold volume down button no messages was send until I release this button. If I press and hold volume up button, speech recognition (or voice recorder) program was started. I am trying SHCMBM_OVERRIDEKEY for VK_TRECORD button, but with no result.

May be anybody know how this problem can be solved on SE phones? (Override default action of volume buttons, receive separately key down/up events for this keys and don't start speech recognition (or voice recorder) program if volume up button was not released).

Thanks.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.