views:

68

answers:

2

i have implemented following code to upgrade application

platformrequest("URL TO JAR FILE");

i am checking if the jad file residing on server has more value in the custom field Application-Version than the current one then the platformRequest will get called..

every thing fine

but only one problem i have installed my app in memory card and if i updateusing above mentioned technique... i m having new version installed saperately..

instead of this i want my older version application to be upgraded [replaced by newer]

in jad file ony i change the Application-Version Field rest every thing are same as the local installed appliction..

and i want my app to be replaced in memory card only.

A: 

what phone are we talking about?

In essence it should not matter where the app is located, it should update.

Make sure the platform request should point to the jad of course

Toad
i am talking about Nokia 3110-ci am downloading it from my server. and obviously i'd point to jad file..
A: 

I don't think you should be using a custom field/attribute for this.

Are you using the MIDlet-Version attribute in your application's manifest/JAD file? This attribute is used by a device's AMS (application management software) to determine if your pointing to a newer version.

See here for a description of the standard MIDlet attributes.

Chris Harcourt
Yes I have updated midlet-version also and ofcourse i am pointing to jad only..phone is Nokia 3110c