How can I access the Web SQL database created in PhoneGap from native Android code?
I have the local notification plugin installed, and I want to get the user settings from the web database to set the correct interval for my alarm.
The simplest solution seems to be to create a common preference plugin, should work well with small and simple data.
I changed Cordoba ( https://github.com/Coder-Nasir/incubator-cordova-android ) so as to create a database in Android Default location, which is /data/data/package-name/databases/
/data/data/package-name/databases/
This simple command
window.openDatabase("something", "1.0", "PhoneGap Demo", 0);
You will get the required something.db in the above location.
Source: https://habr.com/ru/post/914443/More articles:28 bytes for an empty instance of an object / class? - javaFTP "550 Access is denied" Error - ftpMySQL stored procedure with variable argument - mysqlMerge Git Conflict - gitDoes Phonegap get localstorage values ββfrom Java code? - java'volatile' in method signature? - javaYii - Unittesting Model Download Forms - yiiDisable form change in VB6 while saving the minimize control - vb6boost :: date_time, g ++ - 4.7.0, compilation error - c ++Checking for identifier in resources (R.id.something) - javaAll Articles