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:43, 24 July 2013 by hamishwillee (Talk | contribs)

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

Updating MIDlets on Series 40 phones (Known Issue)

From Wiki
Jump to: navigation, search
Article Metadata



The Nokia-Update JAD attribute should be used to update MIDlets.


Series 40 devices support a Nokia-specific JAD attribute called "Nokia-Update" which can be used to provide a URL for the update location of the MIDlet. When the URL in this attribute points to a JAR file, the update process (which the user can start from the Options menu) will create a new MIDlet instead of overwriting and updating the existing MIDlet.

The recommended solution is that the Nokia-Update attribute in the JAD file should not point to JAR URLs, but instead it should point to a JAD URL. For starters, all signed MIDlets need a new JAD (to get a new signature), and invariably a new JAD is needed (for new permissions, version number etc.) so it is bad practice to put a JAR URL in this attribute.

Note: If the Nokia-Update attribute in the JAD file is blank, the Update menu item in the Series 40 UI is disabled, which means that it is not possible to update the MIDlet.

Note 2: If this attribute does not exist in the JAD file and the MIDlet is downloaded OTA to the device, the system automatically adds this attribute for the MIDlet in question using the download URL.

How to reproduce

  1. Create a MIDlet with the update URL (attribute called Nokia-Update) in the JAD pointing directly to a JAR file.
  2. Install a MIDlet via PC Suite using both JAD and JAR files.
  3. Update the MIDlet

A new MIDlet will be created instead of the MIDlet being overwritten and updated.


Always use URLs to the JAD file in the Nokia-Update attribute.

This page was last modified on 24 July 2013, at 05:43.
119 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.