Practical Examples of Timers

Next, we'll look at some specific examples of using <timer> in real-world applications. It is important to design your WAP applications remembering the end user is going to be mobile. Since the timer element causes an action without the user's input, it may confuse them or even concern them that something happened with the application without their control. Therefore, it's important that your timer implementations flow with the rest of the application so it doesn't surprise or confuse the target user.

Some potential examples of timers include

  • Showing a reminder of a user's account balance as he shops.

  • Asking users to agree to terms and conditions of your application.

In the previous section, you saw a fairly advanced ...

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.