Using Phone Buttons and Function Keys

Now that we've looked at URLs and card navigation, let's examine some ways to add functionality for WAP devices.

Soft Keys

Although it's been established that WAP devices vary widely, on most WAP-enabled phones, you'll find two buttons just below the display that have arrows on them. With WML, you can program these buttons for a specific application and even make them function differently between applications, decks, and cards. After you have programmed such a button, it's called a soft key.

Soft keys are instrumental to navigation on WAP devices. These buttons give the user the ability to alter his path or jump to a different card without having to navigate a full list of options. For this reason, a programmer ...

Get WAP Development with WML and WMLScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.