June 3, 2000 - The WMLScript Development Environment | WebReference

June 3, 2000 - The WMLScript Development Environment

Yehuda Shiran June 3, 2000
The WMLScript Development Environment
Tips: June 2000

Yehuda Shiran, Ph.D.
Doc JavaScript

User agents communicate with a WAP server, the Web server-equivalent of the wireless world. You can download WAP server software from any of the leading wireless corporations. In particular, Nokia offers their WAP server in this URL. But, for developing WML and WMLScript software, you really need a simulator that models both the server and the user agents. Nokia offers you just that. You need to download two software packages to your PC:
  • Nokia WAP Toolkit. You can find it in this URL.
  • Java Run Time Environment. You can find it in this URL.

Let's assume you saved both packages in your C:\Temp directory. You should have now two files in this directory: setupex13b.exe (about 10MB) and jre1_2_2-001-win.exe (about 5MB). Notice that we assume you downloaded the Java Run Time Environment in one piece through the Internet. Installing these packages is a straightforward task. You just double click on the Java Run Time Environment executable and follow the installation instructions. Same goes for the Nokia WAP Toolkit executable. Once both packages are installed, you're ready to go.

Invoke the Nokia WAP Toolkit. The standard installation adds it to the Start/Programs menu, under Nokia WAP Toolkit/Toolkit. The toolkit will load and you'll get two windows: the Nokia WAP Toolkit window and the Nokia 6150 window. Open the file currency.wml. You should get the Nokia WAP Toolkit window and the Nokia 6150 image. You can edit your WML and WMLScript here. You can also compile your programs (yes, you need to compile them like C and C++ code). Most importantly, you can run your script from here and operate your Nokia 6150 as if it is hooked up to a WAP server. To see exactly how does this development environment look like, visit Introducing WML and WMLScript.