Blackberry - application settings save/load

后端 未结 2 390
我在风中等你
我在风中等你 2020-12-09 23:46

I know two ways to save/load application settings:

  • use PersistentStore
  • use filesystem (store, since SDCard is optional)

I\'d

2条回答
  •  生来不讨喜
    2020-12-10 00:37

    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.

提交回复
热议问题