+3  A: 

3rd option: Use the RMS for simple app settings.

Although your suggested persistent store sounds nice, it is not compatible with any other java phone, so when you have to port your app you'll have to recreate this part

I read somewhere that creating files on the filesystem itself should only be done in case of pictures or video, so basically content which the user can look at at another way as well.

Toad
thanks! And will RMS data be accessible after device reset, as it is with persistent store?
Max Gontar
yes... The only 2 things it doesn't survive is reinstalling the app(although the installer will ask if the rms should be saved or cleared). and it also doesn't survive a factory reset of the device.
Toad
rms stands for record management store, http://www.ibm.com/developerworks/library/wi-rms/had to search for it
iamrohitbanga
ah...sorry for not being more clear. Thanks for giving a nice link
Toad
+2  A: 

We use PersistentStore and I can confirm that the data does stick around even after uninstalling and reinstalling the app.

UPDATE: from what I understand, if you persist a non-native object (i.e. you create a subclass of Hashtable and store it) then all the app's persisted data WILL be erased when you uninstall your app, since the persisted class no longer has meaning.

Marc Novakowski