View on GitHub

Cordova-plugin-websqldatabase

Cordova plugin enabling WebSqlDatabase on WP7.5 & WP8

Download this project as a .zip file Download this project as a tar.gz file

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 org.smile.websqldatabase.wpdb

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

External library

This plugin uses a fork (https://github.com/Smile-SA/Csharp-SQLite-WP) of the original "Sqlite Client for Windows Phone" library