Namespaces
Variants
Actions

Update Midlet

Jump to: navigation, search
SignpostIcon Upload 52.png
Article Metadata

Article
Created: senthilat (09 May 2007)
Last edited: hamishwillee (18 Jul 2012)

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 18 July 2012, at 14:51.
125 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved