File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes Auto update for j2me Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Auto update for j2me" Watch "Auto update for j2me" New topic
Author

Auto update for j2me

Van Vu
Greenhorn

Joined: Oct 13, 2006
Posts: 15
Dear all,

Is it possible to do auto update in j2me. For example, when the user run the application, it connects to server to see if there is new version available. If yes, than first step is to inform the user with popup or alarm. The first step is not a problem. The second step is if the user click "update", for ex, than the midlet automatically download and run the new version? is it possible to do the second step automatically or the user have to go to the website and dload the new version manually ? Have you seen in practice any midlet that is able to do auto update like this ?

Best regards.

Van Vu
[ May 22, 2007: Message edited by: Bear Bibeault ]
Eduardo Marques
Ranch Hand

Joined: Feb 19, 2005
Posts: 231
See here on the use of MIDlet.platformRequest()

http://developers.sun.com/techtopics/mobility/midp/ttips/platformRequest/index.html

"If the URL points to a MIDlet suite's JAD or JAR file, for example http://www.j2medeveloper.com/ota/basicpush.jad, the platform request is for download and installation of the MIDlet suite, using the platform's normal installation process."

It should work for MIDlet update.
See also the MIDP Javadocs.

Cheers


Eduardo Marques
Get ready for your SCMAD certification at J2MECertificate.com - See what all the buzz is about ...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Auto update for j2me
 
Similar Threads
Many Questions related to JTWI & CLDC 1.1
Need some info about the Register Alarm
How to turn the phone to silent mode in J2ME?
Pragmatic Project Automation book :: 5.7 Auto-updating Installed App
Background midlet on startup