Android的 - 哪里是SQLite数据库存储数据库、Android、SQLite

2023-09-13 00:08:12 作者:沿途有你就不孤单

可能重复:   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.