openDatabase is a javascript/html5 function that allows for client local database storage
Questions tagged [opendatabase]
42 questions
0
votes
1 answer
Can PhoneGap apps use server pages to load on it?
I am trying to do web apps using PhoneGap framework for iOS. I need to know whether PhoneGap loads page from server or not, I mean , can I use server side scripting language like php, pyhon, etc?
And if I used those scripting language, can I use…

regeint
- 888
- 2
- 17
- 38
0
votes
1 answer
My developer app problem with opening database on Android 9
Can you help my?
I have created and published the app on Google play store that contains a database, I have tested it on different android phones. My app works perfect on android version (Android 10,8,5 etc...) except on Android 9, do you know how…

Milo91
- 1
0
votes
2 answers
SQLite plugin doesn't work Ionic - Apache Cordova
I am developing an Apache Cordova app for Android and IOS using Ionic framework too, for this I need to have a little database in local storage and I wan't to use SQLite. I follow a lot of tutorials and in fact this is very easy -at least it seems-,…

MadDev
- 113
- 16
0
votes
1 answer
Database statement is not working in google chrome
I am running chrome 43.0. In console i am running below command:
>> var db1 = openDatabase('testDB', '', 'my first database', 2 * 1024 * 1024, function(d){console.log(d);});
>> undefined
>> db1.transaction(function (tx) {
…

Pallavi Prasad
- 577
- 2
- 9
- 28
0
votes
1 answer
Altering db file is causing SQLiteDatabase.openDatabase() to crash
I have a normal opening of a database file, it works perfectly fine when opening a blank db file with only the metadata table, but as soon as I make another table, it causes the app to crash. Maybe it's different version db files? Please comment if…

Andrew Tsay
- 1,893
- 6
- 23
- 35
0
votes
1 answer
Phonegap - Assemble with a query result from another query - Sqlite Query
I can not make a selection via the result of the first
Goal is:
Do the query on the table "line" pick up your ID and search customers that line the "customer" table
This is my code:
db = window.openDatabase("test", "1.0", "Test DB", 1000000);…

Tigger
- 3
- 2
0
votes
2 answers
openDatabase Hello World - 2
This is a continuation from a previous stackoverflow question.
I've renamed some variables so that I can tell what are keywords and what are names that I can control.
Q: Why is the deleteRow function not working?
html5…

Phillip Senn
- 46,771
- 90
- 257
- 373
0
votes
0 answers
Open Database Synchronously in JavaScript
Trying to open a database synchronously using JavaScript. My code looks something like this. Whenever I run it on Chrome, I get the following 2 errors
Uncaught SecurityError: Failed to construct 'Worker': Script at…

user3297575
- 13
- 2
0
votes
2 answers
PhoneGap storage, Passing Variables to db.transaction, SQL Lite
I'm working with the PhoneGap Open Database API. According to this documentation values should be inserted into an existing table using the follow code
function populateDB(tx) {
tx.executeSql('DROP TABLE IF EXISTS DEMO');
…

Ben Pearce
- 6,884
- 18
- 70
- 127
0
votes
0 answers
Setting enable-universal-access-from-file-uris for Webkit in TideSDK?
Can I set enable-universal-access-from-file-uris=true for Webkit in TideSDK ? Accessing openDatabase from TideSDK causes SECURITY_ERR: DOM Exception 18 error.

Sudip Saha
- 300
- 2
- 6
- 21
0
votes
1 answer
Phonegap not picking up transaction function
I am working with a opendatabase with phonegap and everything works fine in Chrome browser on my desktop but when I run it on my android device and click to the button that call insertRecord() it says not with eclipse I get error
10-26 10:37:13.191:…

skwidgets
- 281
- 2
- 8
- 23
-1
votes
2 answers
Android & sqlite - Do I have to create and replace the database before accessing it? or can I just open the db and query?
I am starting to learn android development using the Eclipse SDK with SQLite.
If I have an existing database, which I created manually, in another application etc.
It seems as if all the examples, even the ones which bring in an existing database,…

ACesario
- 89
- 9