05-28-2009 11:45 AM
Just trying to decide which direction - MIDP storage or Persistent. The data I'm working with will always be text, but there could be a fair amount of it (4 meg +) so I wanted to use the micro SD card for storage. I've read that MIDP has two options, Record Management System (RMS) and File Connection API. According the API documentation, RMS databases can't be accessed with the File Connection method, but yet the File Connection API is the only example used to show saving data to the micro SD. Is there another way to store RMS databases to removable media (micro SD card)? Or is there a better way to access data on removable media? How slow is pulling data with the File Connection API?
05-28-2009 01:59 PM - edited 05-28-2009 02:00 PM
There are 3 options.
1. MIDP RMS storage (internal memory, cannot be saved/stored on micro-sd card)
2. RIM Persistent Store
3. File Connection API
RIM Persistent Store is an object storage. And there is a limited qty of object handles which can be stored into RIM Persistent Store.
Qty limitation is related to the device software version.
File Connection API is the best choice if you want to store big amount of data. This API allows creating files in internal device memory and on external memory micro-sd card.