I want to know that how to run a MIDlet in an actual mobile device such as nokia 3310.plz if anyone know the procedure,kindly inform me.I really want to know this. Sun Certified Programmer for Java 2 Platform.
Point your WAP browser to a HTML file that contains link to your JAD file, If your server MIME types are set up correctly (Tomcat has the right MIME type for JAD/JAR out of box), your WAP browser will pass the control to the Java runtime on your phone and start the OTA installation process.
There may also be a data cable available for your phone that will allow you to transfer jar/jad files without a network connection. I know they are available for many Motorola phones.
Just a note: the Nokia 3310 is an older model that doesn't support MIDlets (nor does Nokia 3330). If you want a low-end Nokia phone that supports MIDlets, try Nokia 3410, 3510i or 3530 (similar to 3510i but for Asian markets). None of the above support serial cables or infra-red, so you'll have to download MIDlets from a WAP site. It's easy to to make your Web server a WAP server too, as Michael explained. For more high-end phones, you can generally download MIDlets directly from a PC using a serial cable, infra-red or Bluetooth (depending on the phone model).
According to Forum Nokia, the 3530 is Java-enabled. I've never seen one myself, as they're sold only in the Asian markets. They seem to be very similar to the 3510i.
The knights of nee want a shrubbery. And a tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss