วันศุกร์ที่ 30 พฤษภาคม พ.ศ. 2551

WAP Wml for Image

A WML card can be set up to display an image:



The result MIGHT look like this in your mobile phone display:

WAP Wml for < a >

The tag always performs a "go" task, with no variables. The example below does the same as the tag example:

WAP Wml for Links

Links
A WML card can be set up to display the anchor functions of WML.


The tag always has a task ("go", "prev", or "refresh") specified. The task defines what to do when the user selects the link. In this example, when the user selects the "Next page" link, the task says "go to the file test.wml":

WAP Wml for Tables

A WML card can be set up to display the table functions of WML:



The result MIGHT look like this in your mobile phone display:

วันพุธที่ 28 พฤษภาคม พ.ศ. 2551

WAP Wml Text Formatting

A WML card can be set up to display the text formatting functions of WML:



The result MIGHT look like this in your mobile phone display (don't take it for granted that all formatting tags will render as expected):

WAP Wml Paragraphs and Line Breaks

A WML card can be set up to display the paragraph and line break functions of WML:



The result MIGHT look like this in your mobile phone display:

WML Formatting Decks and Cards

Decks and Cards
WML pages are often called "decks". A deck contains a set of cards. A card element can contain text, markup, links, input-fields, tasks, images and more. Cards can be related to each other with links.

When a WML page is accessed from a mobile phone, all the cards in the page are downloaded from the WAP server. Navigation between the cards is done by the phone computer - inside the phone - without any extra access trips to the server:



The result MIGHT look like this in your mobile phone display (note that only one card is displayed at a time):

วันอังคารที่ 27 พฤษภาคม พ.ศ. 2551

WAP Homepages

WAP Homepages
WAP homepages are not very different from HTML homepages. The markup language used for WAP is WML (Wireless Markup Language). WML uses tags - just like HTML - but the syntax is stricter and conforms to the XML 1.0 standard.

WML pages have the extension *.WML, just like HTML pages have the extension *.HTML.


--------------------------------------------------------------------------------

WML Tags
WML is mostly about text. Tags that would slow down the communication with handheld devices are not a part of the WML standard. The use of tables and images is strongly restricted.

Since WML is an XML application, all tags are case sensitive ( is not the same as ), and all tags must be properly closed.


--------------------------------------------------------------------------------

WML Decks and Cards
WML pages are called DECKS. They are constructed as a set of CARDS, related to each other with links. When a WML page is accessed from a mobile phone, all the cards in the page are downloaded from the WAP server. Navigation between the cards is done by the phone computer - inside the phone - without any extra access trips to the server.


--------------------------------------------------------------------------------


As you can see from the example, the WML document is an XML document. The DOCTYPE is defined to be wml, and the DTD is accessed at www.wapforum.org/DTD/wml_1.1.xml.

The document content is inside the ... tags. Each card in the document is inside ... tags, and actual paragraphs are inside

...

tags. Each card element has an id and a title.

Introduction to WAP

The WAP protocol was designed to show internet-contents on wireless clients, like mobile phones.

WML is the language used to create pages to be displayed in a WAP browser.

In our WAP tutorial you will learn about WAP and WML.

You will learn how to convert your HTML pages to pocket format, so that your information can be accessed from wireless clients, like mobile phones.



The WAP protocol was designed to show internet contents on wireless clients, like mobile phones.


--------------------------------------------------------------------------------

What you should already know
Before you continue you should have a basic understanding of the following:

WWW, HTML and the basics of building Web pages
JavaScript
XML

What is WAP?
The wireless industry came up with the idea of WAP. The point of this standard was to show internet contents on wireless clients, like mobile phones.

WAP stands for Wireless Application Protocol
WAP is an application communication protocol
WAP is used to access services and information
WAP is inherited from Internet standards
WAP is for handheld devices such as mobile phones
WAP is a protocol designed for micro browsers
WAP enables the creating of web applications for mobile devices.
WAP uses the mark-up language WML (not HTML)
WML is defined as an XML 1.0 application

--------------------------------------------------------------------------------

The Wireless Application Protocol
The WAP protocol is the leading standard for information services on wireless terminals like digital mobile phones.

The WAP standard is based on Internet standards (HTML, XML and TCP/IP). It consists of a WML language specification, a WMLScript specification, and a Wireless Telephony Application Interface (WTAI) specification.

WAP is published by the WAP Forum, founded in 1997 by Ericsson, Motorola, Nokia, and Unwired Planet. Forum members now represent over 90% of the global handset market, as well as leading infrastructure providers, software developers and other organizations. You can read more about the WAP forum at our WAP Forum page.


--------------------------------------------------------------------------------

WAP Micro Browsers
To fit into a small wireless terminal, WAP uses a Micro Browser.

A Micro Browser is a small piece of software that makes minimal demands on hardware, memory and CPU. It can display information written in a restricted mark-up language called WML.

The Micro Browser can also interpret a reduced version of JavaScript called WMLScript.


--------------------------------------------------------------------------------

What is WML?
WML stands for Wireless Markup Language. It is a mark-up language inherited from HTML, but WML is based on XML, so it is much stricter than HTML.

WML is used to create pages that can be displayed in a WAP browser. Pages in WML are called DECKS. Decks are constructed as a set of CARDS.


--------------------------------------------------------------------------------

What is WMLScript?
WML uses WMLScript to run simple code on the client. WMLScript is a light JavaScript language. However, WML scripts are not embedded in the WML pages. WML pages only contains references to script URLs. WML scripts need to be compiled into byte code on a server before they can run in a WAP browser.

Examples of WAP use
Checking train table information
Ticket purchase
Flight check in
Viewing traffic information
Checking weather conditions
Looking up stock values
Looking up phone numbers
Looking up addresses
Looking up sport results

วันอาทิตย์ที่ 27 เมษายน พ.ศ. 2551

Mobile Technology By HAWHAW

Mobile Technology By HAWHAW

HAWHAW stands for

HTML and WML hybrid adapted Webserver

and is a toolkit to create universal mobile applications.

Features
HAWHAW creates the following markup languages for a wide range of mobile devices:

HTML
WML 1.x
XHTML Mobile Profile (WAP 2.0)
iMode (cHTML)
HDML
MML
VoiceXML
HAWHAW supports the following browsers (list is not complete):

Internet Explorer, Firefox, Opera, Safari, Lynx
Cellphone browsers (WAP)
Smartphone browsers (WAP 2.0)
PDA browsers
Opera Mini
AvantGo
iPhone
Further characteristics:

Built-in device simulator (requires neither Java nor Javascript)
Barrier-free output
dot-mobi compliant
Open Source