aspose file tools
The moose likes Java Micro Edition and the fly likes How to run a MIDlet in an actual mobile device Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "How to run a MIDlet in an actual mobile device" Watch "How to run a MIDlet in an actual mobile device" New topic
Author

How to run a MIDlet in an actual mobile device

syed baber owais
Greenhorn

Joined: May 04, 2003
Posts: 8
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.
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
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.


Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
Greg Schwartz
Ranch Hand

Joined: May 11, 2003
Posts: 132
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.


Greg Schwartz<br />Mobatech, LLC<br />greg@mobatech.com<br /><a href="http://www.mobatech.com" target="_blank" rel="nofollow">www.Mobatech.com</a>
David Price
Ranch Hand

Joined: Jan 22, 2003
Posts: 93
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).
Naveen Sharma
Ranch Hand

Joined: Mar 23, 2001
Posts: 65
David are you sure 3530 is java enabled ... i think it comes with only GPRS and MMS
David Price
Ranch Hand

Joined: Jan 22, 2003
Posts: 93
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to run a MIDlet in an actual mobile device
 
It's not a secret anymore!