openDatabase is a javascript/html5 function that allows for client local database storage
Questions tagged [opendatabase]
42 questions
9
votes
2 answers
SECURITY_ERR: DOM Exception 18 on openDatabase
I have a web-based Android app that uses WebSQL for storage. For some reason, calling openDatabase at one point (in response to a button click), causes a DOMException with the message "SECURITY_ERR: DOM Exception 18".
Note that I am not using…

Goldsmith
- 508
- 7
- 13
6
votes
3 answers
SQLite database: unknown error (code 14): Could not open database
I'm making an App that copies a db file from another App and then edits the db.
When I try to open de SQLite db I get an error:
android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
Tried a lot of…

Luciano Stupenengo
- 183
- 1
- 1
- 12
6
votes
1 answer
HTML5: accessing large structured local data
Summary:
Are there good HTML5/javascript options for selectively reading chunks of data (let's say to be eventually converted to JSON) from a large local file?
Problem I am trying to solve:
Some existing program locally and outputs a ton of data. I…

Abrrval
- 61
- 2
5
votes
2 answers
SQLite static openDatabase database method error in Android
I created a static method to access my database on one of my activities but I keep getting error on opening the database.
MainActivity
public static String getStudentData() {
SQLiteDatabase sampleDB = null;
try {
//NOT…

newbie
- 958
- 4
- 13
- 25
5
votes
1 answer
openDatabase Hello World
I'm trying to learn about openDatabase, and I think I'm getting it to INSERT INTO TABLE1, but I can't verify that the SELECT * FROM TABLE1 is working.