On 02/14/2014 12:28 AM, Alberto Marqués wrote:


Hi, I have an app in phonegap html5, but I can not do porting to OS firefox. 
Now I need SQLite for transitions between screens. I got this error:

TypeError: window.openDatabase is not a function

db = window.openDatabase ("zerouno3.db3", "1.0", "information Spots", 30 * 
1024);

Unfortunately sqlite is not supported by firefox, or so I think ...

Someone know any similar alternative. I have a 100 if any sqlite function I 
always think as it works also as Crhome and android is working now.


You might be able to make sql.js work: http://badassjs.com/post/18857332551/sql-js-sqlite-compiled-to-javascript-via-emscripten

Cheers,
Josh
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to