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

Adobe AIR Development

Reply
New Contributor
Posts: 3
Registered: ‎07-07-2011
My Device: Blackberry playbook
My Carrier: Blackberry playbook

Re:Creating a Database in Blackberry Application

Hello,

 

In my Blackberry Playbook Application(by Adobe AIR), I want to create a database that creates when Application launches first time and it must be uninstalled.

 

Can you please help me regarding adding Database into the Blackberry playbook AIR application?

 

Thank You...

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Re:Creating a Database in Blackberry Application

AIR supports SQLite database files. You can find the API on the Adobe website.

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/data/SQLStatement.html

When the application first starts, if the database file is not in the app-storage directory, then you can create it. Items in the app-storage directory get deleted during uninstallation.