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
Developer
Posts: 213
Registered: ‎10-02-2010
My Device: Z10 and Z30
My Carrier: Play and Plus

Re: creating or opening sqlite db in webworks for playbook

Download index.html and config.xml files. Pack them using zip to creat Database.zip archive and then create bar file and sign it using bbwp command.

Trusted Contributor
Posts: 227
Registered: ‎09-03-2010
My Device: Not Specified

Re: creating or opening sqlite db in webworks for playbook

What is Database.bar ??

Contributor
Posts: 25
Registered: ‎06-03-2011
My Device: curve 9800
My Carrier: Singtel

Re: creating or opening sqlite db in webworks for playbook

This example works perfect for me on chrome, but i tried running it on the BB decive 9700 (OS 5.0.0.469) simulator and it has a build error "Failed to read application archive - I/O exception"

Trusted Contributor
Posts: 119
Registered: ‎11-28-2011
My Device: 9930
My Carrier: Verizon

Re: creating or opening sqlite db in webworks for playbook

Hello.

I have a followup question related to your response.

Doesn't data in a local html5 database persist even after the application is exited?

Is there no way to access this data when the application is reopened i.e. does all the data have to be purged and then recreated from the xml file/json script.

 

Thank you.