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: 29
Registered: ‎09-11-2010
My Device: Bold 9700
My Carrier: AT&T

SQLlite and BB OS 6

I have an existing app that uses SQL with Gears integration on BB OS5

 

I want to include BB OS6 devices so that my app will work on both 5 & 6

 

I am using WebWorks (in VS2008 to be exact)

as is, my app will not work on the Torch simulator, most features work, but the database doesn't. It hangs on the database creation code.

 

As I understand it, for OS6 you have to use HTML5, which makes Gears obsolete.

I also found the Gears to HTML5 library which I included in my code, and also removed the reference to Gears

 

now the code I have for creating or accessing the database in HTML5 is not working on any platform:

db = openDatabase("NoteTest", "1.0", "HTML5 Database API example", 200000); 

if (!db) alert ("error");I have looked through the available samples, I find a gears sample, and I find a Java sample, but I can't find an OS6 web works SQL sample

 

 

 

 

 

Am I on the right track, and if yes, can you point me in the right direction for OS6 compatible SQLlite code

 

Thanks

Developer
Posts: 29
Registered: ‎09-11-2010
My Device: Bold 9700
My Carrier: AT&T

Re: SQLlite and BB OS 6

any help would be greatly appreciated, thanks