Application Updating

Hi allPlease can any one advice me in how can I let my j2me application抯 users update this app when I provide a new version of it.Thanks in advance
[168 byte] By [primrosea] at [2007-11-27 8:04:56]
# 1
Do something like this.Start a demon thread every time the application is starting for the first time to check in the server if there is any available updated version of your midlet.
find_suvro@SDNa at 2007-7-12 19:47:24 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2
thank you for replayingI developed an app which used xml file. And when I want to moify it, I only modify it's xml file. So I want my users only download the modified xml file. So is it bossible?thanks againg
primrosea at 2007-7-12 19:47:24 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3
well it is possible to download the xml file. but I figured it out that u need it to be stored in the app rather than every time get it downloaded.so u need to store the contents of ur xml file in the recordstore. I don't see any other option dude.
find_suvro@SDNa at 2007-7-12 19:47:24 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 4

find_suvro@SDN is right.

you should create a parser that initialise the application with an xml file or anything else.

the MIDlet will construct itself with the configuration file. when a new config file is available,

you can create a prompt window to ask to the user if he wants to update the MIDlet.

if true, you download the new xml file and the MIDlet automatically recreate the GUI...

good luck

suparenoa at 2007-7-12 19:47:24 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 5
thank u all suparenocan u please explain me more about ur solution? and what do you mean about the configeration file, is it jad file?thanks again
primrosea at 2007-7-12 19:47:24 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 6

> thank u all

>

> supareno

> can u please explain me more about ur solution? and

> what do you mean about the configeration file, is it

> jad file?

the jad file is used to install the app on your mobile...

when i say 'configuration file' i mean that your app is looking at each starting on the web

server to see if a new config file is available. if it's true, the app download it and rebuild

itself.

the config could be a txt file, an xml file, a serializable object,...

the job is:

MIDlet -> asktotheserver

|

|_ <yes> : download the file and parse it to create new design and store the file in the RMS

|

|_ <no> : load the config file from the RMS and and parse it to create the app

good luck

suparenoa at 2007-7-12 19:47:24 > top of Java-index,Java Mobility Forums,Java ME Technologies...