---
title: "phonegap-storage"
author: "fanfq"
date: "2012-09-24T21:49:01Z"
tags: ["HTML5", "Mobile", "PhoneGap"]
categories: ["移动开发"]
slug: "phonegap-storage"
draft: false
lastmod: "2012-09-24T21:49:01Z"
id: 1684626
url: "https://fanfq.iteye.com/blog/1684626"
---

phonegap 就不多做介绍了，在此你看到的文章的分类就略知其作用了。 本节介绍的phonegap的存贮的实现，比较奇怪的是我始终都没有找到其存储文件存放的目录在哪里，原本以为会在/data/data/app package/databases/ 其实不然，在stackoverflow，gmailgroup里面都提问了，尚未得到有效的答复。希望有经验的朋友能够在此留言告知于我，表示感谢！ 其实就两个页面，实现CRUD的操作，so easy！ index.html \[code="html"] Storage Example

# Example

Database \[url=add.html]Add\[/url]

\[/code] add.html \[code="html"] Storage Example

# Example

Database - Add Title: Content: \[/code] 代码较为简单就不多做介绍了，附件中含工程源码。遇到问题敬请留言。