05-17-2011 08:08 PM
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