Welcome to Developer's Home Wednesday, April 23, 2014
Home - DevelopersHome.com

Compiling WMLScript Code


Preferences - Do not show ads

As you can see in the previous "Hello World" example, the WMLScript code is stored in plain-text form. Before the WMLScript file reaches the wireless device, it passes through a WAP gateway that compiles the WMLScript code. The byte code resulted is then transferred to the wireless device where it is executed.

Typically, there is no need to care about the WAP gateway part, as cellular network operators will provide a WAP gateway for their subscribers.


WMLScript Compilers

Although WAP gateways will take care of the compilation of WMLScript files for you, you can compile them manually if you want to (maybe for purposes such as checking syntax errors). All you need is a WMLScript compiler. One is available in the Nokia Mobile Internet Toolkit, which can be downloaded free of charge on Nokia's website.

To compile a WMLScript file using the Nokia Mobile Internet Toolkit, follow the steps below:

  1. Run the Nokia Mobile Internet Toolkit

  2. Click "File -> Open"

  3. In the dialog box, choose the WMLScript file you want to compile and click the "Open" button

  4. Click the "Compile" button in the bottom left-hand corner

If there is no compile-time error, the compiled file (ends with the extension ".wmlsc") will be saved and placed in the same directory as the original plain-text file.


Page 3 of 71 Previous Page | Next Page
Contents at a Glance
Print this Web Page | | Back to Top
Custom Search

Feedback Form (Expand)

What do you think about this web page?






WMLScript Tutorial Table of Contents WMLScript Tutorial Contents at a Glance Preferences - Change Color Scheme Preferences - Do Not Show Ads Previous Page Next Page