【问题标题】:How to use phonegap sqlite plugin in windows phone如何在 windows phone 中使用 phonegap sqlite 插件
【发布时间】:2013-10-29 13:58:14
【问题描述】:

我使用 phonegap 在 android 中制作了一个字典应用程序。它工作正常,可以将项目移植到 Windows Phone。我正在使用Cordova-WP-SqlitePlugin 插件。

我将 .cs 文件包含在我的插件文件夹中,并添加了 Community.CsharpSqlite.WinPhone.dll 作为参考,但仍然无法正常工作。我应该如何实际使用插件访问数据库?

谢谢。

【问题讨论】:

    标签: cordova windows-phone-8 sqlite windows-phone


    【解决方案1】:
    1. 使用 phonegap 2.7 或更低版本(新版本无法使用)
    2. 复制 .js 和 .cs 文件(先复制到 js 文件夹,再复制到 plugins 文件夹)
    3. 添加到您的 config.xml
    4. 添加到 index.html
    5. 在解决方案资源管理器中右键单击 References,将随附的 Community.CSharpSQlite.WinPhone 添加为参考

    【讨论】:

    • 我想在这里实现同样的目标,但我找不到 Community.CSharpSQlite.WinPhone 是一个 dll,我可以在哪里下载它?如何将其添加为我的项目的参考
    猜你喜欢
    • 1970-01-01
    • 2013-10-29
    • 1970-01-01
    • 1970-01-01
    • 2015-02-16
    • 2015-07-05
    • 1970-01-01
    • 1970-01-01
    • 2016-07-23
    相关资源
    最近更新 更多