In J2ME, RMS can still hold all records after closing an app or restarting the phone?
I am developing Location based app n j2me. I am using configuration of CLDC 1.1 & MIDP 2.0. In that I have to stored place name, its address, latitude, longitude, reminder text, tone name in database. My Questions about RMS is-
1) when I close an app or restart an app; whatever records are stored by an app in RMS is been get deleted??
2) What is maximum capacity of RMS of holding record. is that infinite??
3) How much record can RMS hold without getting mobile system slow down.
4) Which J2ME Database system provide me efficiency, simplicity & speed in add, delete & update record. Is that RMS does that??
Plzzz Help ASAP...
Re: In J2ME, RMS can still hold all records after closing an app or restarting the ph
Answers Inline :
1) when I close an app or restart an app; whatever records are stored by an app in RMS is been get deleted??
Ans : No, Data saved in RecordStore will remain in the RecordStore itself even if app is closed or restarted.
2) What is maximum capacity of RMS of holding record. is that infinite??
Ans : Its not infinite. But it depends on the device to device. You can use getSizeAvailable() , which returns the amount of additional room (in bytes) available for this record store to grow.
3) How much record can RMS hold without getting mobile system slow down.
Ans : Depends on Device , as mentioned above you can use getSizeAvailable() . Also you can create multiple RecordStores. But creating 10's of RecordStores are not efficiant.
4) Which J2ME Database system provide me efficiency, simplicity & speed in add, delete & update record. Is that RMS does that??
Ans: For small amount of data RMS is good. For large amount of data, Pls look at FileConnection (JSR 75 )
Hope this helps!
Regards
Gopal