Skip to main content

Automatic midlet updates

1 reply [Last post]
Joined: 2007-10-18

I'm in the process of writing a midlet that I anticipate will have many upgrades over the next year or so. I was wondering if there is any way to have the midlet check for updates and install them automatically?

Any help would be greatly appreciated.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2004-03-04

Not quite but here is the common practice:

- Have the midlet contact your server (via HTTP for example) periodically and check for the latest version (or, your server can send an SMS push message to the MIDlet when the new version is available)
- If there is a newer version have your server send an SMS push message with the jad URL of the latest MIDlet version to the phone
- The phone SMS inbox will recognize the URL and prompt the user to open the URL with the phone WAP or HTTP browser
- The browser will kick of the MIDlet installation process and prompt the user to replace the existing MIDlet on the phone with the new version at the URL

-- Terrence