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
Contributor
kundan4776
Posts: 10
Registered: ‎03-22-2012
My Device: 9380

SQL Lite DB in webworks App

If we want to use sql lite db in webworks,

does it requires SD card compulsorily to use DB feature.

 

Is there any work around if user doesn't have SD card.

Contributor
Ryanthegiantlion
Posts: 17
Registered: ‎08-23-2012
My Device: developer

Re: SQL Lite DB in webworks App

We looked at a similar issue for using Google Gears in BB OS 5.0 - which does require the SD card. The webworks HTML5 Database also requires an SD card and I suspect but cannot confirm that it is running google gears under the hood . . . 

However, it seems that all Blackberry's are sold with SD cards or come with an embedded SD card - at least that seems to be the case here in South Africa. So basically its probably not worth implementing a work around - at least thats what we decided in our case.

Contributor
kundan4776
Posts: 10
Registered: ‎03-22-2012
My Device: 9380

Re: SQL Lite DB in webworks App

Thanks for your reply.

BlackBerry Development Advisor
anzor_b
Posts: 165
Registered: ‎09-24-2012
My Device: Passport

Re: SQL Lite DB in webworks App

Hello kundan4776,

 

As mentioned by Ryanthegiantlion, SQL Lite does require an SD Card - for more information, please refer to the following page:

 

https://developer.blackberry.com/html5/documentation/database_1201928.html

Contributor
Ryanthegiantlion
Posts: 17
Registered: ‎08-23-2012
My Device: developer

Re: SQL Lite DB in webworks App

How does that compare to https://developer.blackberry.com/html5/apis/database.html

 

Both docs list the same methods yet one shows support for OS 5.0 upwards and the other for OS 6.0 upwards . . .

BlackBerry Development Advisor
anzor_b
Posts: 165
Registered: ‎09-24-2012
My Device: Passport

Re: SQL Lite DB in webworks App

Hi Ryanthegiantlion,

 

Same APIs, the only difference is that in 5.0 this was done using Google Gears while in 6.0+ its using the HTML5 Web Standard, and therefore belongs in the Web Starndards section.