Presentation is loading. Please wait.

Presentation is loading. Please wait.

CIS 375—Web App Dev II WAP. 2 Introduction to WAP WAP ________________________ is an application communication protocol that uses a ______ Browser in.

Similar presentations


Presentation on theme: "CIS 375—Web App Dev II WAP. 2 Introduction to WAP WAP ________________________ is an application communication protocol that uses a ______ Browser in."— Presentation transcript:

1 CIS 375—Web App Dev II WAP

2 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 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 4 WML Formatting <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd"> Hello World! Cell 1 Cell 2

5 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 6 Example of Links and Images <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd"> See the man This is an image in a paragraph

7 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 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 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" "http://www.wapforum.org/DTD/wml13.dtd"> This message will last 3 seconds!

10 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 11 Example HTML Tutorial XML Tutorial WAP Tutorial You selected: $(name)

12 12 Links WML validator: http://www.w3schools.com/wap/wml_validate.asp Demos: http://www.w3schools.com/wap/tryit_wap.asp?file=de mo_helloworld.wml Reference: http://www.w3schools.com/wap/wml_reference.asp Nokia Mobile Internet Toolkit: http://www.forum.nokia.com/main/1,6566,1_1_30,00. htmlhttp://www.forum.nokia.com/main/1,6566,1_1_30,00. html (used for examples in this presentation) The “Wapalizer”: http://www.gelon.net/ (???)http://www.gelon.net/


Download ppt "CIS 375—Web App Dev II WAP. 2 Introduction to WAP WAP ________________________ is an application communication protocol that uses a ______ Browser in."

Similar presentations


Ads by Google