hi all,
how can i make a data store to my application such that i can store data in it when the application closing, so i can get it back when the application start again
best regards.
hi all,
how can i make a data store to my application such that i can store data in it when the application closing, so i can get it back when the application start again
best regards.
Hi,
Take a look at the javax.microedition.rms package. You can use the RecordStore to do it.
The MIDP provides a mechanism for MIDlets to persistently store data and retrieve it later. This mechanism is a simple record-oriented database called the Record Management System (RMS). A MIDP database (or a record store) consists of a collection of records that remain persistent after the MIDlet exits. When you invoke the MIDlet again, it can retrieve data from the persistent record store.
Here are some links that could be of some help to you!
MIDP Database Programming Using RMS: a Persistent Storage for MIDlets
http://developers.sun.com/techtopics...ist/index.html
Databases and MIDP, Part 1: Understanding the Record Management System
http://developers.sun.com/techtopics...rms/index.html
Sharing Data Between MIDlet Suites
http://developers.sun.com/techtopics...rms/index.html
Regards
Gopal