SQLITE example - How to view sqlite on mobile and how to run this example on pc

83 views
Skip to first unread message

SAURABH CHADHA

unread,
Mar 9, 2017, 9:20:38 AM3/9/17
to phonegap
The link to the example i am following - https://phonegappro.com/tutorials/phonegap-sqlite-tutorial-with-example-apache-cordova/

How do i test this on a pc as simply opening index.html but its not working, though i am able to run this on a mobile...please guide

and how to find/view sqlite db on mobile, please someone help

Jeff Berwick

unread,
Mar 9, 2017, 9:42:49 AM3/9/17
to phon...@googlegroups.com
You have to use a browser that supports WebSQL.  Safari, Chrome and Firefox I believe support WebSQL.  

Jeff

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

SAURABH CHADHA

unread,
Mar 9, 2017, 10:56:51 PM3/9/17
to phonegap
I have added Cordova platform add windows , and when i run cordova serve this [On chrome] does not work, when i click on create tables, it gives me this error -

Uncaught TypeError: Cannot read property 'transaction' of undefined

at HTMLButtonElement.<anonymous> (index.js:11)

at HTMLButtonElement.dispatch (jquery.js:3)

at HTMLButtonElement.r.handle (jquery.js:3)
Reply all
Reply to author
Forward
0 new messages