本文介绍了凡存储PhoneGap的数据库在Android或iPhone?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有麻烦发现PhoneGap的创建iPhone和Android上的SQLite数据库。
结果我检查了/ data文件夹,但没有任何那里。结果
我知道,API是基于在W3C的Web SQL数据库规范和W3C Web存储API规范,并在电脑的浏览器,我可以看到他们的检查。在PhoneGap的文档,它说,它为创建SQLite数据库,但在我的Andr​​oid设备和iPhone,我找不到它。结果有谁知道在哪里的PhoneGap创建数据库?

I'm having troubles to find the SQLite databases that Phonegap creates on iPhone and Android.
I've checked the /data folder but there aren't any there.
I know that the APIs are based in the W3C Web SQL Database Specification and W3C Web Storage API Specification, and in computer's browsers I can see them with the inspector. In Phonegap documentation it says that it creates as SQLite database but I can't find it in my android device and iPhone.
Does anyone know where PhoneGap creates the databases?

在前进,结果谢谢
Elkas

Thanks in advance,
Elkas

推荐答案

我做了什么是容易和简单。我这样做是为了一个单一的测试程序,并希望它会帮助你。

What I did is easier and simpler. I did this for a single testing app and hope it will help you to.

虎〜/库/应用程序支持/ iPhone模拟器/(版本,您正在测试)5.0 /应用/ AADBB179-EC96-4020-910C-85CB01513C58(你的将是不同的)/图书馆/ WebKit的/数据库/ file__0 / 0000000000000001 .db的

Tiger ~/Library/Application Support/iPhone Simulator/(version which you are testing)5.0/Applications/AADBB179-EC96-4020-910C-85CB01513C58 (yours will be different)/Library/Webkit/Databases/file__0/0000000000000001.db

您的文件是0000000000000001.db

Your file is 0000000000000001.db

这篇关于凡存储PhoneGap的数据库在Android或iPhone?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 18:29