×
Namespaces

Variants
Actions

Update Midlet

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Article
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.
32 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.

×