RecordStore or PersistentStore to save data on blackberry?
What is the开发者_StackOverflow best solution for saving data for Blackberry application?
If you use RMS API, size of single RecordStore is limited to 64Kb for 4.5 and before and 512kb for 4.6 and later. If you use Persistent API, storage size is limited only by capacity of device - exactly as you described.
Persistent API is more powerful but requires code signing. MIDP doesn't required.
For more info look at following links.,
Persistent Data Storage
Blackberry Data Storage
Persistent Storage Performance
PersistentStore
is more recommended to use when storing data on the device. Check the RuntimeStore
too which is good to use too.
精彩评论