Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Developer
Posts: 45
Registered: ‎08-16-2008
My Device: Torch 9800, Bold 9700, Storm 9550, Curve 8520
My Carrier: Airtel

Store and retrieve the information

Hi all, 


I want to store few values on the phone and retrieve it. The vaules are none but the values of some variables. for example

string s = "Name" ;

int i = 10;


Please let me know how we can do it.




Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: Store and retrieve the information


There are many threads available with information you asked.

To brief you now, You can use MIDPs RMS or RIMs PersitentStore. Refer to "BlackBerry_Application_Developer_Guide_Volume_2" section "Storing Persistent Data".



Use Search. "Accept Solution" If the problem is resolved.