Create a record store

  1. Import the javax.microedition.rms.RecordStore class.
  2. Invoke openRecordStore(), and specify true to indicate that the method should create the record store if the record store does not exist.
    RecordStore store = RecordStore.openRecordStore("Contacts", true);

Was this information helpful? Send us your comments.