Welcome!

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

Reply
New Developer
jai1989
Posts: 27
Registered: ‎07-27-2011
My Device: curve

How to create a table structure and make it persistable

hello,

 

can someone explain me, how to create a two column and 100 row structure and store it in persistent store, also how to retrieve whole table

 

thankyou

Developer
peter_strange
Posts: 19,610
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to create a table structure and make it persistable

[ Edited ]

Can you not use SQLite?

 

Alternatively, just create a 100 row Vector, with each row containing a 2 element String array. 

 

Edit: This KB article might help you with  persistent storage:

http://supportforums.blackberry.com/t5/Java-Development/Storing-persistent-data/ta-p/442747