BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 05-20-2011, 10:39 AM   #1 (permalink)
New Member
 
Join Date: May 2011
Model: 9700
PIN: N/A
Carrier: Vodafone
Posts: 7
Post Thanks: 1
Thanked 1 Time in 1 Post
Default Persistant Memory Dev help required.

Please Login to Remove!

Hello everyone.

After a little bit of help regarding persistant memory and getting an example to work - Ive had no luck so far.

What I require is for on submission of a button, two fields data (strings) to be added to a persistant storage, and then, for those two fields to be accessable from anywhere within my application.

Can anyone help me with a working example? Most probably easy for some of you, however I find it best to learn whilst breaking and then fixing.

The example of this is that I want a user to input there name and number, and that to be pre populated throughout the application when needed

Many thanks in advance
Offline  
Old 05-20-2011, 12:39 PM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default Re: Persistant Memory Dev help required.

Storing persistent data - BlackBerry Support Community Forums
Offline  
Old 05-20-2011, 01:15 PM   #3 (permalink)
New Member
 
Join Date: May 2011
Model: 9700
PIN: N/A
Carrier: Vodafone
Posts: 7
Post Thanks: 1
Thanked 1 Time in 1 Post
Default Re: Persistant Memory Dev help required.

Thanks for the link. I have tried this example but could not call the data from outside of the class?
Offline  
Old 05-20-2011, 01:38 PM   #4 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default Re: Persistant Memory Dev help required.

You'll need to wrap PersistentStore with your own class that provides public access to the data.

My advice: get a Java book and start by learning Java.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: Persistant Memory Dev help required.
Thread Thread Starter Forum Replies Last Post
Help!! 9700 Device memory Problems! CavJJC General 9700 Series Discussion - Bold 2 9 05-19-2011 10:41 PM
Managing your BB Memory - Lost Call Logs and SMS JSanders General BlackBerry Discussion 65 04-15-2009 05:27 PM
Memory card required for GPS? dobel GPS & Mapping 3 04-02-2009 09:18 AM
BB MDS Studio, wont start, HELP please... ltena Developer Forum 0 07-03-2008 08:23 PM





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.