Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to run a MIDlet in an actual mobile device  RSS feed

 
syed baber owais
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Greg Schwartz
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
David Price
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David are you sure 3530 is java enabled ... i think it comes with only GPRS and MMS
 
David Price
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
mooooooo ..... tiny ad ....
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!