O'Reilly logo

Palm OS Programming, 2nd Edition by Neil Rhodes, Julie McKeehan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Other Design Issues

Most applications contain a certain number of core user interface elements. Even the simplest application will, at the very least, need a form and some controls. Most applications go well beyond the minimal number of features and have multiple menus, forms, and dialog boxes. You will have to decide about these forms, as well as the types of screens (black and white, grayscale, color, pixel depth) that you will support. There are also OS versions to support or ignore. Finally, and most importantly, there are a couple of gotchas that commonly get programmers from the desktop world. Let’s look at these first.

Gotchas from the Desktop

There are two common problems that desktop programmers stumble upon when they enter the handheld world: what to do about passwords and where to put the Exit button. Thankfully, we can tell you exactly what to do about both of these situations.

Handling passwords on a handheld

In the desktop world, it is common to present a dialog box in which the user enters a password where the actual letters or digits in the password are obscured with asterisks (*) or other symbols. You must not obscure a password on a Palm handheld. Instead, show the actual letters and digits the user enters in the dialog box (see Figure 3-44).

Entering a password in the Security application Password dialog box
Figure 3-44. Entering a password in the Security application Password dialog box

You also need to show the actual letters and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required