Jump to content


Pragmatic Smartphone Application Hints and Tricks

- - - - -

  • Please log in to reply
1 reply to this topic

#1
g4mb17

g4mb17

    Regular

  • Members
  • PipPip
  • 124 posts
  • Location:Auckland, New Zealand
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.ins...gambit/Article/

Riki

ThemeChanger: http://homepages.ins....net.nz/~gambit
Do you change your background hourly?

#2
Serg

Serg

    Newbie

  • Members
  • Pip
  • 5 posts
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.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users