• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Record store does not remain persistant throughout various openings of MIDLet

 
Deepesh Singh
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 40
Google App Engine Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post the code of opening/creating of RecordStroe?
I guess, you may be creating a new record store at every execution.
 
Tukaram Kanade
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
It will be emulator problem,check in real device it will give you result.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic