• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Junilu Lacar
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst
  • Peter Rooke
  • Mikalai Zaikin
Bartenders:
  • Himai Minh

j2ME: loosing data everytime i close

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
So it takes a day for light to pass through this glass? So this was yesterday's tiny ad?
Master Gardener Program
https://coderanch.com/t/771761/Master-Gardener-Program
reply
    Bookmark Topic Watch Topic
  • New Topic