03-07-2011 01:06 AM
Hai,
my applicaiton is using by user's and they are storing their data.
Now i have to update my application,by which user's cannot loose their old data.
how can i do this....
03-09-2011 04:59 PM
How is your data stored? PersistentStore, SDCard or RMS?
I presume PersistentStore.
In which case, the first option is not to change the PersistentStore object, or at least, not change it is a way that means it will be stored differently. So for example, if you PersistenStore object is a Vector, adding an element does not change the struture. But if you add a new int to the class, that changes the way ti is stored.
If you really must change the format of the PerisstentStore Object, then you can create a second, different persisted Object, and have your start up processing convert from the old format to the new.