This is a Cordova 3 plugin (using the new plugin management system) that enables WebSqlDatabase on WP7.5 & WP8.
Install
Using the Cordova 3 Command-line Interface:
cordova plugin add cordova-plugin-websqldatabase
If you are not using the Cordova Command-line Interface, follow Using Plugman to Manage Plugins.
Usage
Use the WebSqlDatabase API as if it where native on Windows Phone, the plugin does the rest.
Example
A prototype including this plugin is available at https://github.com/Smile-SA/cordova-plugin-websqldatabase-proto
Compatibility
- WP 7.5
- WP 8
External library
This plugin uses a fork (https://github.com/Smile-SA/Csharp-SQLite-WP) of the original "Sqlite Client for Windows Phone" library