Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Revision as of 05:51, 24 July 2013 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Update Midlet

From Wiki
Jump to: navigation, search
Article Metadata
Created: senthilat (09 May 2007)
Last edited: hamishwillee (24 Jul 2013)

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

This page was last modified on 24 July 2013, at 05:51.
48 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.