You Are Here:

Getting Started with the XHTML Mobile Profile

Register Today

Register with Forum Nokia now and you'll enjoy the full benefits of the Forum Nokia membership.

Register Login
Community Highlights

Innovation Series Videos highlighting Forum Nokia developers

Wiki article of the week

Java Porting

Champion of the month

Felipe Andrade
Read more about Felipe on the Champions website.


Forum Nokia Events

Ovi Store Publisher Reporting
July 08, 2009
9 a.m. New York, 2 p.m. London, 4 p.m. Helsinki

Ovi Store Publisher Reporting
July 08, 2009
11 a.m. San Francisco, 2 p.m. New York

Nokia World 09
September 02, 2009
Stuttgart, Germany

Adobe MAX 2009
October 04, 2009
Los Angeles

International CTIA WIRELESS I.T. & Entertainment 2009
October 06, 2009
San Diego, California


View all

Version 1.0 / 25 June 2003

Table of contents

1. Overview

This document provides an overview for developers who want to begin using the Extensible Hypertext Markup Language Mobile Profile (XHTML MP) to develop applications for Nokia mobile devices. This step-by-step guide takes you through the process of installing the Nokia Mobile Internet Toolkit 4.0 and writing your first XHTML MP page.

Download the whole Getting Started with XHTML Mobile Profile package (guides and tools included)

Back to top

2. What You Should Already Know

The WAP Forum, now a part of the Open Mobile Alliance Ltd. (OMA), defined the Wireless Application Protocol (WAP) specification as a global standard for mobile Internet applications and browsing. The latest version of the specification, WAP 2.0, is XHTML MP. WAP specifications can be found on the WAP Forum Web site.

WAP developers who are already creating mobile Internet services using the Wireless Markup Language (WML) should understand the evolution from WML 1.x to XHTML Mobile Profile. For background information on the subject, developers can download the following two documents from the Documents section of the Forum Nokia Web site.

WML to XHTML Migration gives developers guidance on how to shift from WML to XHTML Mobile Profile.

Browsing on Mobile Devices provides an overview of WAP 2.0 technologies and describes the benefits of using XHTML MP and WAP CSS on mobile services.

Back to top

3. What You Will Need

The Nokia Mobile Internet Toolkit 4.0 Starter Pack is an application development and testing environment for developers of mobile Internet content. It provides tools to create applications with XHTML MP, WAP CSS, WML, and WMLScript.

In addition to the Nokia Mobile Internet Toolkit, developers will need the Nokia 5100 SDK beta, which supports XHTML MP and WAP CSS and can be used to preview and test WAP applications.

Back to top

4. Where to Begin

First, install the Nokia Mobile Internet Toolkit 4.0 following the installation guide NMITpack-Install.pdf. Document can be found from Nokia Mobile Internet Toolkit Starter Pack.

Secondly, install the Nokia 5100 SDK beta following the installation guide Nokia_5100_SDK_Installation.pdf. Document can be found from Nokia 5100 SDK beta package.

Start the tools:

  • Start the Nokia Mobile Internet Toolkit 4.0
  • Start the Nokia 5100 SDK beta

Open the example XHTML page:

  • Open the index.xhtml (Ready-made files can be found from examples)
  • Push the show button

Images of your first XHTML pages

Back to top

5. Where to Go Next

Once you understand the basics of XHTML, it is time to think about the look and feel of the XHTML application.

The Nokia Mobile Internet Toolkit includes a document called XHTML Guidelines, which provides comprehensive information about creating content for mobile devices supporting XHTML MP and WAP CSS. For further information on the subject, Nokia also provides the following documents, which are available for download from the Documents section of the Forum Nokia Web site.

WAP Service Developer's Guide for Nokia Series 30 Phones with XHTML Browser provides information and practical examples on how to optimize mobile services for Nokia devices with a specific user interface.

Nokia GSM WAP Phone Characteristics document contains detailed information about the browser characteristics of Nokia devices. It lists features such as screen size, supported image formats, user agent name, and cache and deck size, among many others.

Nokia GSM WAP Phone MIME Types document lists the MIME content types currently supported on the browser of Nokia WAP phones. MIME types illustrate which content types can be downloaded through the browser to the phone.

Nokia GSM WAP Phone WML and XHTML Elements document describes the WML and XHTML elements that are supported on the browser of Nokia WAP phones.

Back to top

6. Related Materials

There are several complementary technologies that can be used to enhance the user experience of mobile services, and the following documents will help developers become familiar with them. Documents are available on the Documents section of the Forum Nokia Web site.

Getting Started with WAP Push describes how to create WAP Push messages. The document also contains example code of a Push servlet, which utilizes XSLT technology.

The OMA Generic Content Download Over The Air, or simply OMA Download OTA download technology, provides reliable download functionality for generic content types. Delivering hot content with confirmation – OTA download for generic content with COD technology provides an overview of interactive OTA download.

OMA technical specifications are available for download from the OMA Web site.

Examples

Forum Nokia also offers an example of a dynamic WAP application using XSLT processing, Mobile Zoo Virtual Tour. The application generates XHTML MP or WML1.x depending on the requesting user agent. Mobile Zoo Virtual Tour demonstrates the implementation of a scalable application and use of the WAP CSS.

Mobile Zoo Virtual Tour Guide (4/5) and Mobile Zoo Virtual Tour application (4/5) can be downloaded from the Documents section of the Forum Nokia Web site.

Technical Support

Nokia offers developers a complete range of free and fee-based support to assist developers in creating, testing, and deploying applications. Services are available online, remotely, and onsite at Nokia facilities.

For more information about technical support, please see the Developer Section at www.forum.nokia.com/support and the Support/FAQs section at www.forum.nokia.com/browsing.

Back to top

7. Terms and Abbreviations

Term or Abbreviation Description
CSS Cascading Style Sheet. Mechanism for adding style (e.g., fonts, colors, spacing) to Web documents.
WAP Wireless Application Protocol.
WCSS WAP CSS. Cascading Style Sheet specification optimized for wireless devices.
XHTML Extensible Hypertext Markup Language. XHTML uses the definitions of HTML 4.1 but requires proper XML syntax.
XHTML MP XHTML Mobile Profile. XML-based markup language that contains XHTML Basic and a few additional elements from full XHTML 1.1.
XSLT Extensible Stylesheet Language Transformations

Back to top

Download PDF
(227.4 kB)

Print the document

Rate This

Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditFurlTechnocratiMagnoliaTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
RDF Facets: qdcZtypeQUqfnZE45E78cludedFromGeneralE4CistingsQ qdcZtypeQUqfnTypeZE52esourceQ qdcZtypeQUqfnTypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqrdfsZE52esourceQ qfnZdistributionQUxhttpE3AE2FE2FforumE2EnokiaE2EcomE2FX qfnZtypeQUqfnTypeZE52esourceQ qfnZtypeQUqfnTypeZWebpageQ qmarsZlanguageQUxhttpE3AE2FE2FswE2EnokiaE2EcomE2FlanguageE2D1E2FenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4CistingsQ qrdfZtypeQUqfnTypeZE52esourceQ qrdfZtypeQUqfnTypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ