O'Reilly logo

BlackBerry Java Application Development by Bill Foust

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Java way: RMS

RMS is probably the simplest, and least powerful, of the three approaches because it is a Java standard that has to be implemented the same way on many different devices. It is basic and functional, but not terribly easy to use.

RMS allows an application to create one or more record stores, which in turn stores one or more records. Each record is one large array of bytes and can be of any size, subject to the limits of the OS. RMS does not provide or understand any structure of the data in each record.

The RecordStore class is at the heart of RMS. Because the RecordStore is a Java standard, it is found in the javax.microedition.rms package instead of the BlackBerry-related packages. The RecordStore class can be instantiated to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required