I have a simple piece of code that creates a new RecordStore and adds a single record to it. This executes fine, and after running it if I call
RecordStore.listRecordStores()
it shows the newly created RecordStore.
However, when running this in a Nokia emulator, I find that when I restart the emulator the RecordStore is no longer there. This works fine using Sun's Wireless Toolkit - is there a setting somewhere to enable persistent storage of RecordStores in the emulator (I'm using the 7210 emulator but it's probably the same across them all)? I tried adding the "MIDlet-Data-Size" attribute to the JAD file, but it didn't help.
Thanks!

Reply With Quote


