I've been looking through the Blackberry documentation and they outline 3 different mechanisms for persisting application data:
- Persistent Store API
- MIDP RMS API
- File System API
I'm wondering about the following things...
- What are the pros/cons of each approach
- Is there a maximum size of data that can be stored? I'm not so concerned about individual object size as much as total size. For example, there used to be a 64K limit for the persistent store but that has been expanded to several MB in the latest versions of the software. However, I couldn't find any details on maximum sizes that can be stored.
- Is one of the approaches considered the "best way" to persist data?
- Any other persistence mechanisms (such as SQL-Lite) that anyone would suggest?