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
kemasD
Posts: 37
Registered: ‎01-18-2011
My Device: Huron 8800
My Carrier: IM3
Accepted Solution

Possible Offline Storage in PlayBook?

I'm currenty aiming to build a offline webworks application for PlayBook that leverage the offline / internal storage for the PlayBook. AFAIK, this filesytem API is not yet supported (according to the PlayBook API reference, CMIIW).


I've tried to use the IndexedDB to use the PB simulator browser internal storage, but there's no luck.

 

The question is, what is the best offline storage media to use in PlayBook to deliver the offline WebWork application to user?

Please use plain text.
Developer
Heiko
Posts: 125
Registered: ‎01-17-2011
My Device: Playbook
My Carrier: Vodacom

Re: Possible Offline Storage in PlayBook?

[ Edited ]

 

Hi

 

How about HTML5 openDatabase ? 

I quickly tried the "StickyNotes" webkit sample app and it seems to work - except that the example expects mouse input etc .. but the sticky notes opened get restored when app gets opened again.

 

(Even after restarting playbook sim all still there as saved.)

 

.H

Please use plain text.
BlackBerry Development Advisor
tneil
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Possible Offline Storage in PlayBook?

IndexDB is not yet enabled... you will need to use the HTML5 SQLite Database API

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Please use plain text.