marcucio / Cordova-WP-SqlitePlugin

14 stars 20 forks source link

How to use this plugin #11

Open saurabhumalkar opened 11 years ago

saurabhumalkar commented 11 years ago

Please excuse me if this sounds like a very basic question.

I see many quys who have been successful in using this plugin to access SQLite in Phonegap over WP8.

Can someone please tell me the full procedure to use this plugin in my Cordova Project ? I tried copying the js and cs files into my project, but it doesn't seem to work. And I am not sure if copied all the necessary files and at proper place. Also do I need to make some changes in my code ?

Many Thanks.

biodiv commented 11 years ago
  1. use phonegap 2.7 or lower (newer wont work)
  2. copy .js and .cs files (fist into js folder, latter into plugins folder)
  3. add to your config.xml
  4. add to index.html
  5. add the shipped Community.CSharpSQlite.WinPhone as a Reference by right-clicking on References in your solution explorer
vishvendu commented 11 years ago

Hello there is no config.xml in windows 8 development where to define plugin ?

biodiv commented 11 years ago

There is a config.xml. It is on the same level as your www folder.