09-05-2008, 08:40 AM
|
#2 (permalink)
|
| Thumbs Must Hurt
Join Date: Apr 2006 Location: Boston Model: 8900 Carrier: AT&T
Posts: 98
Post Thanks: 0 Thanked 0 Times in 0 Posts
| If your "database" is "data stored in persistent storage" then it's easy: make sure all the data stored in PS is of a standard type (java.lang.String, java.lang.Integer, any of the classes in the RIM OS, etc.). The data will persist across application removal/re-installation. Data in Persistent Storage is removed when there is no class definition for the objects. If you "serialize" your data by turning it into a String, it will still be available when you remove the application that stored it.
__________________
Karl G. Kowalski
---------------
Owns a RAZR
Develops for BlackBerry
So next phone will be........an iPhone 3G!
|
| Offline
| |