RMS Basics

The RMS API is contained in the package javax.microedition.rms. A MIDlet can create and access a number of record stores. Each record store has a name that is unique in the MIDlet suite. It consists of a number of variable-length records. The records themselves are simple byte arrays without any further predefined structure.

The RMS API does not include routines for integrity maintenance. All maintenance is performed by the platform automatically.

MIDlets can access record stores of other MIDlets only if they are in the same MIDlet suite. For instance, it is possible to include a MIDlet A inside MIDlet suite 1 and include a MIDlet B in MIDlet suite 2. Although both MIDlet suites are on the same device, MIDlet A is not allowed to manipulate ...

Get Java™ 2 Micro Edition Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.