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

Native Development

Reply
Contributor
Posts: 27
Registered: ‎05-07-2012
My Device: PlayBook and Bold 9900
My Carrier: Wind
Accepted Solution

SQLite data to TextArea

I would like to know how I can read data stored in a SQLite database and display it on a TextArea.

Thanks you for your help

 

Retired
Posts: 60
Registered: ‎05-10-2012
My Device: Blackberry 10 Alpha
My Carrier: none

Re: SQLite data to TextArea

Hello,

 

for a general idea on how to read from a database into a textarea in the UI, I would suggest taking a look at the Quotes ssample on https://developer.blackberry.com/cascades/sampleapps/ which deals with what you want.

 

To use SQLLite, add a Library Reference to your project (right click on project->Configure->Add Library->Standard Blackberry Platform Library) and under "Common Services" and check the "SQLLite3".

 

There will be further instructions given by the IDE on manual steps needed to complete the process. After that, write your SQLLite code to read from the database and display it into a textarea

 

Good luck,

Selom.