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: 9
Registered: ‎11-04-2011
My Device: Developer
My Carrier: Vodafone

Web Database problem in webworker

Can database operations will work in HTML web worker.....

 

How to open the database in web worker...I m getting error always..

 

Highlighted
Developer
Developer
Posts: 607
Registered: ‎04-29-2011
My Device: PlayBook 16GB, BB10 LE Z10 (red)
My Carrier: none

Re: Web Database problem in webworker

Hi.

 

It's not possible to access the window object within a worker environment, so by this you can not access window.openDatabase as well. Have a closer look at what is possible here: http://www.html5rocks.com/en/tutorials/workers/basics/


"Like" if you liked the post.
"Accept as Solution" if the post solves your question.