如何创建phonegap数据库

时间:2017-02-19 15:58:41

标签: android ios html5 sqlite cordova

我找到了这个phonegap sqlLite教程

https://phonegappro.com/tutorials/phonegap-sqlite-tutorial-with-example-apache-cordova/

所以我遵循了这些说明,但从一开始就没有理解在哪里写第1步:创建新的PhoneGap / Apache Cordova项目

" cordova创建SQLiteExample com.phonegappro.sqlite SQLiteExample"

是在config.xml中吗?

我正在使用在线Phonegap构建器。

1 个答案:

答案 0 :(得分:1)

本教程旨在从一开始构建应用程序。你已经有了config.xml文件,你可以跳到第3步。

按照http://docs.phonegap.com/phonegap-build/configuring/plugins/上的官方文档将其与您要安装的SQLite插件相结合(但我建议使用此插件 - https://github.com/litehelpers/Cordova-sqlite-storage

相关问题