Sample Applications

In this last section, we will focus on two practical applications of WMLScript. The first application is an animation. Using <timer> and WMLScript, we'll bounce back and forth between a WML deck (which will display each frame of the animation), and a WMLScript file, which will control the inter-frame delay and set the new frame in the sequence.

The second application will be a currency exchange calculator. It allows users to convert between five different currencies without requiring an application server to process the logic.

Animation with WMLScript

The image files associated with the following animation sequence can all be found on the CD-ROM. Rather than walk through the code one line at a time, we will step through the ...

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.