Using Basic Navigation

Just like pages on a Web site, cards in a WAP application require navigation capabilities to get from card to card. Because WAP devices currently have no pointing mechanism (such as a mouse or touch screen), all navigation is performed using keypad keys.

Two forms of navigation are supported:

  • Anchors can be placed around text or images to make them selectable (similar to the HTML <a> tag).

  • All WAP devices have action keys (usually at least two of them) which can be programmed as needed.

We'll now briefly look at each of these.

▸ Navigation is covered extensively in Chapter 4, "Card Navigation."

Creating Links

WML links are very similar to their HTML counterparts. The text (or image) to be linked is enclosed within ...

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.