Update Midlet
Article Metadata
A MIDlet can be updated from within a MIDlet by using the platform request command:
platformRequest("http://<server-url>/<new jadfile>");
If the JAD file is for the new version of your application it will update the existing application. While doing this as some platform don't support concurrent processing the existing MIDlet will be exited. The platformRequest() will return true in such case to indicate that the MIDlet will be closed. In that case MIDlet must be prepared to exit gracefully.
NOTE: Motorola devices do NOT support JAD and JAR types through the platformRequest() method


Its becoming more generous from all the software developers to provide new changes to their users. In the case of MIDlet developers can provide users a facility through which they now longer need to download the new version and install it again and again. For this purpose Users can update their existing MIDlet with just one menu option and it will be updated with new features automatically.
A simple code is provided to do a very critical task of updating MIDlet itself.
--kalki 09:25, 19 September 2009 (UTC)