【问题标题】:New to Android: openOrCreateDatabase(): where does the sqlite file go?Android 新手:openOrCreateDatabase():sqlite 文件在哪里?
【发布时间】:2010-04-23 15:47:04
【问题描述】:

当我打电话时

myDB = this.openOrCreateDatabase("DatabaseName", MODE_PRIVATE, null);

数据库文件在哪里创建?

我在任何地方都找不到它。 o_O

【问题讨论】:

  • 更多信息:我在 Ubuntu 上,在安装了 ADT 的 Eclipse 3.5 中工作。干杯!

标签: database android sqlite


【解决方案1】:

所有数据库、SQLite 和其他数据库都存储在设备上的/data/data/package_name/databases 中。

http://developer.android.com/guide/topics/data/data-storage.html

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-12-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-09-19
    相关资源
    最近更新 更多