opendatabase

My developer app problem with opening database on Android 9

别来无恙 提交于 2021-02-11 14:13:11
问题 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 can I fix that problem? I find that problem on Huawei Smart Z, Honor P20, Samsung Y6,Xiaomi Mi. Play store console says that my app can run on that models. I am beginner in app development. This happening on mine Huawei Smart: when I install the app

openDatabase Hello World

别来无恙 提交于 2019-12-21 04:59:07
问题 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. <html> <head> <script src="http://www.google.com/jsapi"></script> <script type="text/javascript"> google.load("jquery", "1"); </script> <script type="text/javascript"> var db; $(function(){ db = openDatabase('HelloWorld'); db.transaction( function(transaction) { transaction.executeSql( 'CREATE TABLE IF NOT EXISTS Table1 ' + ' (TableID INTEGER

Error processing SQL: TypeError: window.openDatabase is not a function

 ̄綄美尐妖づ 提交于 2019-12-07 22:19:55
问题 I have some strange issue in my code. i have create simple DB_Function.js to manage JS function inside html page. i am calling function inside <body onLoad="CALL_DB()"> so first that will initialize the DB and create table if needed. Issue is here , Working : Chrome Not Working : Android Mobile & Fire Fox Code are as below : DB_Function.js function CALL_DB() { try { alert("call_db"); var db = window.openDatabase("Database", "1.0", "Cordova Demo", 200000); db.transaction(populateDB, errorCB,

Error processing SQL: TypeError: window.openDatabase is not a function

穿精又带淫゛_ 提交于 2019-12-06 12:21:35
I have some strange issue in my code. i have create simple DB_Function.js to manage JS function inside html page. i am calling function inside <body onLoad="CALL_DB()"> so first that will initialize the DB and create table if needed. Issue is here , Working : Chrome Not Working : Android Mobile & Fire Fox Code are as below : DB_Function.js function CALL_DB() { try { alert("call_db"); var db = window.openDatabase("Database", "1.0", "Cordova Demo", 200000); db.transaction(populateDB, errorCB, successCB); } catch (err) { alert("Error processing SQL: " + err); } } function populateDB(tx) { try {