javax.microedition.rms

MIDP 2.1 compliant S60 devices support the javax.microedition.rms classes completely as defined in the MIDP 2.1 JSR. The text below lists additional implementation information for this package.

RecordStore

Record store database is stored on the same drive as the MIDlet itself, i.e. on phone memory or on memory card.

Record store database size is limited only by free disk space. RecordStoreFullException is thrown when free disk space runs out.

Note: From S60 3rd Edition FP 2 onwards, The maximum size of the record store is 8 MB.


  • addRecord()

    Method does not return until all listeners have been called.

  • setRecord()

    Method does not return until all listeners have been called.

  • deleteRecord()

    Method does not return until all listeners have been called.

As implied above, a blocking listener causes blocking of thread that asked for the record modification. The implementation does not, however, block other threads accessing the record store (unless the accesses lead to same blocking condition of a listener.)