Data in J2ME RecordStore does not persist across sessions

前端 未结 7 632
渐次进展
渐次进展 2021-01-06 21:50

I\'m building a mobile app with J2ME, and I\'ve found that the data I write into a RecordStore can be accessed while the program is still running but it is lost after quitti

7条回答
  •  春和景丽
    2021-01-06 22:27

    I experienced the same issue on Ubuntu Linux and working with WTK 2.5.2 and Netbeans 8.0.2. I later figured it was caused by shutting down my laptop without closing the emulator. It also happens if you run a second emulator without shutting down the first.

    My solution is based on the Best Answer here, just shut down all emulators and delete the file located at

    ~/j2mewtk/2.5.2/appdb/DefaultColorPhone

提交回复
热议问题