View Single Post
  (#48 (permalink)) Old
rivviepop Offline
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Posts: 2,166
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Default 12-16-2007, 05:45 PM

Quote:
Originally Posted by AxelE View Post
That might have be the reason for my problem with OTA installation as I have installed all the time with the DM before. I get a similar message that there is confilct. Does that lead to the situation I had, that all application data had to be removed?
Probably - which storage method are you using, the MIDP Store or the persistence model? In the MIDP Store the data records are tied to the app signature (based on name/module I guess?) so during an upgrade of conflicting modules the data will be lost/orphaned. An upgrade without conflicts will keep/maintain the MIDP data intact. Uninstalling the app first (as in this case) removes the MIDP Store record(s) upon uninstall cleanly.

http://na.blackberry.com/eng/develop...rsistently.jsp

The bad part of persistence model is that uninstalling an app does not remove the data; in some cases that's good (i.e. you're reinstalling and want to maintain the configs) but in others it's highly undesirable (you uninstall the app and are done with it, but now you have orphaned persistence data left on the device). Also persistent data seems to be lost during a device OS upgrade, whereas with the MIDP method the data is maintained. (I have two apps that use persistence and I lose their data on every OS upgrade, booo.)
   
Reply With Quote