I am using RMS for persistent storage for my J2ME application. I store records in record store, they remain there until i close the application. when i launch application again, the data no more exist. can any one tell what could be the problem?
I also want to store records at run time. Like after installing .jar file in my mobile, i launch the application and there is textfield. User enters word in textfield and it should store in record store and should not get deleted when application is closed.
insert method will be called when user press insert button on a form which has textfield. The value of that text field should store in recordStore. These values should not be deleted when application is closed.
posted 10 years ago
My problem is solved Record Store didn't remain persistent in the J2ME emulator but when i installed the application in mobile, the record store remained persistent. The data remained their no matter how many times i close the application and open again. It created .rms file which stores the data. That file was not visible in mobile but when i see my folders in computer, it also shows the .rms file along with other files.