Chapter Summary
The MIDP Record Management System (RMS) supports persistent storage of data records in a device-independent manner. The RecordStore class provides the API for persistent data storage and abstracts the details of access to device-specific storage areas.
Record stores are identified by names, which consist of a maximum of 32 Unicode characters. Record stores can be shared among MIDlets in the same MIDlet suite.
The RMS defines a simple record-oriented database abstraction. Records are stored as an array of bytes. The record store has no notion of Java built-in types.
You can retrieve records by supplying a unique record id. Alternatively, you can retrieve records by obtaining an enumeration of records from a RecordStore.
Enumerations ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access