• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

j2ME: loosing data everytime i close

 
Sangeeta Vepa
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have been coming across a peculiar problem. I created a midlet in which i enter orders and save data. I am still running the application in an emulator. Now, till now i could store data and also, edit them.
Suddenly, i m loosing data everytime i exit from the application in the emulator.
What can be the reason behind. I am using RMS to store data.
Thanks
 
Pavel Kubal
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe you save data to different directory every time. If you close your app KToolbar create ing /appdb/DefaultColorPhone file in.use and on the next start it uses another directory like DefaultColorPhone464464664654477. If file in.use doesn't exist KToolbar use DefaulColorPhone directory. Do I make myself clear? You should delete in.use file every time it appears.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic