In this Midlet, we are going to read string data and write by using the RecordStore class. The package of the RecordStore class is the javax.microedition.rms. In our program we have used a byte[] to read the data. In J2ME a record store consists of a collection of records and that records remain persistent across multiple invocations of the MIDlet.
Output of the Record Store Example..

Source Code of ReadWriteMIDlet.java
import java.io.*;
|
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: J2ME Record Store Example View All Comments
Post your Comment