| Author |
Record store does not remain persistant throughout various openings of MIDLet
|
Deepesh Singh
Greenhorn
Joined: Feb 19, 2010
Posts: 5
|
|
Deepesh singh wrote: 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.
|
 |
Gopinath Karyadath
Ranch Hand
Joined: Oct 14, 2009
Posts: 87
|
|
may be the problem in Emulator .
Try in real device. there will not be problem.
if need more clarification don't hesitate to contact me.I will be online
regards
gopi@c2info.com
|
 |
Srinath Gamage
Ranch Hand
Joined: Jun 19, 2008
Posts: 40
|
|
Can you post the code of opening/creating of RecordStroe?
I guess, you may be creating a new record store at every execution.
|
SCJP & SCMAD
http://srinathbugz.blogspot.com/
|
 |
Tukaram Kanade
Ranch Hand
Joined: Feb 18, 2010
Posts: 39
|
|
Hi,
It will be emulator problem,check in real device it will give you result.
|
 |
 |
|
|
subject: Record store does not remain persistant throughout various openings of MIDLet
|
|
|