Blackberry - application settings save/load

你说的曾经没有我的故事 提交于 2019-11-28 09:33:43

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.

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!