2

I want to implement a SharedPreferences kind of thing in my BlackBerry application similar to what is available in Android. What i want to do is store the login details after authenticating them so that the user is not required to login again and again.

Michael Donohue
  • 11,776
  • 5
  • 31
  • 44
Rahul Sharma
  • 3,637
  • 2
  • 20
  • 18

2 Answers2

9

Use PersistentStore class from RIM SDK to store data and share it among different applications when necessary.

3

You can use both PersistenStore and RuntimeStore to save data over the BB device. The main difference is that the persistent store will save your data even after a phone reset. But the runtime store will erase them after resetting the device. You can use the one that you see better for usage

Farid Farhat
  • 2,300
  • 1
  • 16
  • 29