Klings.NoWires.How-To()

Home

J2ME CDC CLDC MIDP 1.0 MIDP 2.0 MIDlets JABWT

Bluetooth

BTBrowser BTBenchmark KlingsLib

Code Structure Inquiry Service
search
RFCOMM Pitfalls Service record usage Service record manipulation

Devices Developers

Tools Rococo IDEs WTK NDS Antenna

How-To Bluez OBEX Eclipse NetBeans JBuilder WAP

About me

WAP Server How-To

To be able to provide Wireless Application Protocol (WAP) content you need a web-server. If this server knows about the Wireless Markup Language (WML) mime-type you are ready to go. This How-To assumes you have a working webserver and that you know how to configure it. If you need a webserver you'll find one at http://httpd.apache.org. Read the docs to configure it correctly.

A quick guide to get you going is available here: http://www.kevinboone.com/PF_wap.html

Note the mime-types for J2ME applications. In my Apache webserver these were not included by default. Add these to /etc/mime.types if you're running a Linux server. Mobile devices will then understand what to do with .jad and .jar files.

To get you going with .wml files i recommend: http://www.w3schools.com/wap/

Setting up your own little wap site should now be a breeze.

You should link to the .jad file when making J2ME applications available. Most devices will not download a .jar file directly. Remember that you'll need the full path to the .jar file in the .jad file e.g. http://yoursite.com/path/jarfile.jar.



This page was last updated 14. Jul. 2006

Comments and feedback are highly appreciated.

You can reach me at: klings (at) nowires (dot) org