14. Record Stores

MSA devices provide three ways to work with persistent storage.

  • Record stores are tiny databases that contain records. The official name for this API is the Record Management System (RMS).

  • The FileConnection API provides access to the device’s file system.

  • The Personal Information Management (PIM) API allows your application to manipulate the device’s contact list, calendar, and to-do list.

RMS is part of MIDP. In the old days before MSA, RMS was the only persistent storage available to MIDlets. JSR 75 defines both the FileConnection API and the PIM API. Both MSA and MSA subset devices support the FileConnection and PIM APIs.

In the MSA world, RMS and FileConnection both provide persistent storage for MIDlets. FileConnection ...

Get Kicking Butt with MIDP and MSA: Creating Great Mobile Applications 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.