CIS 375—Web App Dev II WAP
2 Introduction to WAP WAP ________________________ is an application communication protocol that uses a ______ Browser in handheld devices, such as digital _____________. WAP uses the wireless markup language (WML), not ______, and is defined as an XML 1.0 application. WAP is published by the WAP ______, founded in 1997 by Ericsson, Motorola, Nokia, and Unwired Planet. The Micro Browser interprets WML and a reduced version of JavaScript called ___________. WML is used to create pages (called ______) that are constructed as a set of CARDS.
3 WAP Basics WML is mostly about ______, since other content would be to slow to deliver. The use of tables and images is strongly restricted. A WML DECK (page) is downloaded to a mobile phone from a _____ server. The CARDS in the DECK are related to each other via links, using only the phone’s __________. Only one card is displayed at a time. Each card element has an id and a ______. WML can use text formatting elements such as b, i, and u. It can also use the table, tr, and td elements.
4 WML Formatting <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" " Hello World! Cell 1 Cell 2
5 WML Links and Images The tag creates a link that can do one of three tasks: Next page The tag is the same as the __________ tag with the task. The tag can be used to display images with the file extension _______ only.
6 Example of Links and Images <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" " See the man This is an image in a paragraph
7 WML Input A WML card can accept input from a user. Name: Age: Sex: The user can also select _______ from a list. HTML Tutorial XML Tutorial WAP Tutorial The user can display a ________. Title: Prize:
8 WML Tasks Go to new card Go To Test Go to a previous card: Previous Page Refresh the page and set a variable: Refresh this page Noop (no operation)—overrides deck-level elements
9 WML Timer A WML card can use a timer function (time units are in _____ of a second). <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" " This message will last 3 seconds!
10 WML Variables When a user switches from card to card, data can be stored in variables (which are _____ sensitive). HTML Tutorial XML Tutorial You selected: $(schoolname) You can also use the tag:
11 Example HTML Tutorial XML Tutorial WAP Tutorial You selected: $(name)
12 Links WML validator: Demos: mo_helloworld.wml Reference: Nokia Mobile Internet Toolkit: htmlhttp:// html (used for examples in this presentation) The “Wapalizer”: (???)