梦书之家(移动开发)

你有一个苹果,我有一个苹果,我们交换一下,一人还是一个苹果;你有一个思想,我有一个思想,我们交换一下,一人就有两个思想。 ——肖伯纳

导航

UI Programming for Windows Mobile Devices

   

There are a number of things that you need to keep in mind when developing UI for mobile devices because of their small formfactor and limited input mechanisms.

    1. Keeping the bare minimum of text boxes and buttons is helpful so as not to clutter the UI.

    2. As far as possible cascading of menu items should be avoided.

    3. The mechanism for input entry in majority of the PocketPCs is a stylus driven Software Input Panel(SIP) which will occupy some screen space. This can be shown or hidden by the user dynamically and your code needs to take care of these conditions.

    4. Windows Mobile 2003 Second Edition software introduces new display capabilities to the Windows Mobile platform. The OS now supports different DPI resolutions. It also supports different orientations like portrait, landscape and square screen. If you've made assumptions about screen resolution and orientation, you may need to take action to ensure your applications work across all Windows Mobile 2003 Second Edition-based devices.

    5. Unlike the desktop, it is not recommended that an application on the PPC has more than one toolbar.

    6. Generally all top level windows provide a Close/X button at the top rig.

    There are a few things to keep in mind when developing UI for Smartphone as compared to PocketPC.

    Unlike PPCs, Smartphones of today don't have a stylus. So you need to make sure that all the elements are accessible  using the keypad.

    Screen resolutions of SFons(the low dpi ones) are lesser than those available on PPC.

    Smartphones provide for special keys like Home Key and Back key, so good apps developed for SFons need to take care of handling these keys.

    Sfons allow users to set font size to medium or large. So please avoid hardcoding the font size.

    A typical rule for control placement on a Smartphone form is to have one control in one row.

来自:http://www.microsoft.com/india/msdn/chat/transcripts/166.aspx

 

posted on 2006-01-11 09:02  梦书  阅读(737)  评论(0编辑  收藏  举报