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

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

New Contributor
Posts: 3
Registered: ‎07-04-2011
My Device: torch 9800

Saving Screen to a Menu/List

Hey guys!


Some help is much neededSmiley Happy


I have a basic form on a screen with some editfields including the name. I would like to save this form to a menu or list, where the user can see the name of the form and when they click on it opens. I have seen 2 examples of this so far. The first being the PersistentStoreDemo (which I find complicated) and another one I found on the internet which does the exact same thing I want BUT all stored information is saved in dialogue boxes and you cannot scroll up or down to pick a saved form.


If anyone can lead me into the right direction, I would much appreciate it!



Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Saving Screen to a Menu/List

I'm a little confused by your requirement, so perhaps I have it wrong.


You have two choices:

a) Save the data input and recreate the screen when the user selects the associated form.  This is good if the data you want is persistent.

b) Save the screen in RuntimeStore and just redisplay the same Screen when the user selects it again.  Only good if the data does not need to survive BB restarts. 


Personally I would go with 9a), and this sounds like what the PersistentStoreDemo does.  Yes it might be harder but you will end up needing to use PersistentStore at some stage, so bit the bullet now!


But perhaps I have misunderstood.