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

Web and WebWorks Development

Reply
New Contributor
Posts: 2
Registered: ‎07-27-2011
My Device: 9300
My Carrier: Enginer informatics

Database for playbook

How to manage a database from the playbook? some references found in the documentation? examples of use?

 on webworks SDK (config.xml,index.html)

Jp++;

Lima, Perú

Developer
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,
My Carrier: T-Mobile UK, Three, O2, Orange, Sunrise, Swisscom

Re: Database for playbook

This is what you're looking for:

http://www.blackberry.com/developers/docs/webworks/api/Database.html?pb1.0

 

And search this forum for examples. People have either posted examples ont here or linked their Github projects.

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Highlighted
Developer
Posts: 163
Registered: ‎05-06-2011
My Device: Playbook
My Carrier: Not Specified

Re: Database for playbook

An example application using HTML5 database

 

https://github.com/ddluk/WebWorks-Database

Retired
Posts: 46
Registered: ‎07-08-2010
My Device: Superberry
My Carrier: Rogers

Re: Database for playbook

JP++,

The database support in WebWorks is seamless, it works exactly as it would in a regular web page. There are no special config.xml entries to enable it.

Google around, there are plenty of examples you can draw from. And if you want to make your life easier, check out persistence.js Smiley Happy
-------------------------------------------------------------------------------------------------
Useful resources, food for the brain:
Web(Works) KB - http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/tkb-p/browser_dev%40tkb
Contributor
Posts: 14
Registered: ‎09-04-2011
My Device: BlackBerry Bold 9700 + PlayBook

Re: Database for playbook

This is by far the best example on the forum. Have tried all the suggested ones but the DDLUK one explains the basic concept and serves as a great start project to modify.