For example, the following WML page could be saved as "example.wml":
This is a sample WML page.
Wireless Markup Language is a lot like HTML (Hyper Text Markup Language) in that it provides navigational support, data input, hyperlinks, text and image presentation, and forms. A WML document is known as a “deck”. Data in the deck is structured into one or more “cards” (pages) – each of which represents a single interaction with the user. The introduction of the terms "deck" and "card" into the internet and mobile phone communities was a result of the user interface software and its interaction with wireless communications services having to comply with the requirements of the laws of two or more nations.
WML decks are stored on an ordinary web server trivially configured to serve the text/vnd.wap.wml MIME type in addition to plain HTML and variants. The WML cards when requested by a device are accessed by a bridge WAP gateway, which sits between mobile devices and the World Wide Web, passing pages from one to the other much like a proxy. The gateways radio the WML pages in a form suitable for mobile device reception. This process is hidden from the phone, so it may access the page in the same way as a browser accesses HTML, using a URL (for example, http://example.com/foo.wml), provided the mobile phone operator has not specifically locked the phone to prevent access of user-specified URLs.
WML has a scaled down set of procedural elements which can be used by the author to control navigation to other cards.
It is an error and misconception to think of WML as a pinhole view of the Internet. The real magic and value of WML is that it provides an interface with the phone hardware to initiate a call based on web content requested by user query, for example the telephone number of a taxi servicing your zip code:
Call A Taxi:
Mobile devices are moving towards support for greater amounts of XHTML and even standard HTML as processing power in handsets increases. These standards are concerned with formatting and presentation. They do not however address cell-phone or mobile device hardware interfacing.
WML can be a very powerful and effective cell-phone add on. It lets you for example enter a zip code, and obtain a list of clickable phone numbers of pizza parlors and taxicabs in your immediate location.
Wireless woes: the usability, interoperability, and business challenges involved with taking e-business applications to cell phones are more serious than most want to admit. (Mobile Business Advisor).
Aug 01, 2002; CELL PHONE TECHNOLOGY promises to take e-business applications well beyond the office walls. However, there are challenges to...
AlterEgo Networks' Aggressive International Expansion Mobilizes European Enterprises and E-Businesses.(Brief Article)
Dec 01, 2000; AlterEgo Networks Inc., aprovider of adaptive services and infrastructure for the mobile Internet, announced the immediate...
WAP vs. WJMS: Wireless Application Protocol (WAP) and Wireless Java Messaging Service (WJMS) are technologies for transmitting data from servers to mobile devices. Find out about the pros and cons of each. (Mobile & Wireless).(Wireless Application Protocol 2.0 and Wireless Java Message Service)
Aug 01, 2002; MY ARTICLE, "THE PITFALLS OF J2ME" in the April issue of E-BUSINESS ADVISOR, outlined some of the problems you should be aware of...