PhoneGap能否与本地SQLite3数据库配合使用? [英] Can PhoneGap work with local SQLite3 databases?

查看:81
本文介绍了PhoneGap能否与本地SQLite3数据库配合使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道PhoneGap是否可以使用本地SQLite3数据库以及SQLite3支持的级别。

I was wondering if PhoneGap can work with local SQLite3 databases and what level of SQLite3 support it has.

推荐答案

可以使用以下两种方法之一:
请记住PhoneGap是打包在浏览器组件中的Web应用程序,这一点很重要。适用于移动WebKit的一切也适用于PhoneGap,PhoneGap中的环境也非常类似于在桌面浏览器中打开HTML文件。

Ya it does work, you can use either of following: It's important to remember that PhoneGap is web apps packaged in a browser component. Everything that applies to mobile WebKit will apply to PhoneGap as well, and the environment in PhoneGap is also very similar to opening an HTML-file in a desktop browser.

Web SQL数据库:
http://www.w3.org/TR/webdatabase/

Web SQL Database: http://www.w3.org/TR/webdatabase/

PhoneGap SQLite插件:
https: //github.com/davibe/Phonegap-SQLitePlugin

PhoneGap SQLite Plugin: https://github.com/davibe/Phonegap-SQLitePlugin

这篇关于PhoneGap能否与本地SQLite3数据库配合使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆