Porting an application from the Pocket PC to the Smartphone

You must make certain manual changes to a Pocket PC application before deploying it to a Smartphone. Table D-3 lists required changes.

Table D-3: Modifications for porting an application to the Smartphone

Item to change or add

Required change for a Smartphone device

Left menu

Use a maximum of two menu bar items. Use the first menu bar item (left menu soft key) to display the most likely user task. When closing the window is a needed task, label this menu item “Done”. Typically there are no submenu items on the left menu.

Right menu

Use the second menu item (right menu soft key) to display the second most likely user task. This menu item is required, although it can be left unscripted. If the menu item is not needed, the menu label can be an empty string.

Use Cancel for the menu bar item or as a menu item listing any time an application state can be saved.

Radio buttons

Change radio buttons to spin controls.

Tab controls

Change tabs to list views with each tab pane as an item in the list.

Security certificate

Applications must have security certificates before they can be run on certain Smartphone platforms. You can create a security certificate with the Manage Certificates utility on the Tools page of the New dialog box. You can attach the certificate to a PocketBuilder application in the Project painter before you deploy the application to a Smartphone.