Android的 - 哪里是SQLite数据库存储 [英] Android - Where is SQLite Database stored

查看:176
本文介绍了Android的 - 哪里是SQLite数据库存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:
  <一href="http://stackoverflow.com/questions/1510840/where-does-android-emulator-store-sqlite-database">Where做Android模拟器店SQLite数据库?

我使用的SQLite和PhoneGap的创建一个多平台的应用程序。不过,我穿过一个问题上运行。

I am using SQLite and phonegap to create a multi platform app. However, I have run across an issue.

我现在找的位置PhoneGap的存储数据库文件命名为 0000000000000001.db database.db

I am now looking for the location the phonegap stores the database files named 0000000000000001.db and database.db

我发现这为iPhone,但似乎无法得到为Android的位置。我是一个模拟器和实际设备(ARCHOS)上当前运行。

I have found this for iPhone, however cannot seem to get the location for the Android. I am currently running on a simulator and actual device (ARCHOS).

推荐答案

打开DDMS透视窗:(窗口 - >打开perspective->其他 - > DDMS),它应该在新标签中打开

Open the DDMS perspective Window: (window->open perspective->other->DDMS) It should open in a new tab.

转至DDMS - >文件浏览器 - >数据 - >数据 - >看到你的包名 - >数据库 - >在这里你的数据库文件。 (在右上方,选择设备拉文件。)导出,并通过SQLite数据库连接器打开。

Go to DDMS -> file explorer -> data -> data -> see your package name -> databases -> here your database file. (In the upper right, choose "Pull file" from device.) Export it and open through an Sqlite database connector.

您将看到您的更新的数据。在采取这些步骤,确保您已先运行应用程序。

You will see your updated data. Before taking these steps make sure that you have run your application first.

这篇关于Android的 - 哪里是SQLite数据库存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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