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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 128
Registered: ‎08-01-2008
My Device: Bold 9900, 9810, 9780, 9650 and so many others
My Carrier: T-Mobile

Database exception in web app on PB and BB10 Dev Alpha

Hi,

We have created a webApp (purely browser based) for our customers. It runs beautifully on BB6 and 7, ioS 4 and 5, Android 2.2 and higher. However when we load it on the PB and the DEV Alpha device we get the following exception:

 

There was not enough remaining storage space, or the storage quota was reached and the user declined to allow more space.


Problem is there is plenty of space on the two devices (gigaBytes) and the device never prompted to increase the quota.

 

Is this a bug or is it simply a settings that enables the device to increase the initial quota?

 

Alon

Developer
Posts: 322
Registered: ‎08-06-2012
My Device: Dev Alpha / Playbook / Curve 9300

Re: Database exception in web app on PB and BB10 Dev Alpha

Are you using localstorage as your database type?

 

If so this could be your problem:

http://stackoverflow.com/questions/2747285/html5-localstorage-restrictions-and-limits

 

A cool website for checking browser abilities is html5test.com,  The playbook stats can be seen here:

http://html5test.com/compare/browser/rimtabletos20.html

 

Although it doesn't tell how much space you have for storage it tells what types of storage are supported.

If it helped you, click like. Smiley Happy
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 exception in web app on PB and BB10 Dev Alpha

If you're using WebDB, you can extend the storage limit at launch and it should prompt the user to allow it.

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Highlighted
Developer
Posts: 128
Registered: ‎08-01-2008
My Device: Bold 9900, 9810, 9780, 9650 and so many others
My Carrier: T-Mobile

Re: Database exception in web app on PB and BB10 Dev Alpha

And yet it does not prompt to extend the storage. Looks like we have a new release of the Dev Alpha software today so i will re-test it on the new software and see if the issue is resolved.

 

Alon