开发者

i created a database in my app, but i don't find it in the DDMS

I can't find my test.db in the file manage开发者_Go百科r in DDMS. Does someone know when we create a database, where it's installed ?


If you are using a non-developer (or non-rooted) android device, the database will not be visible to you in DDMS. It's only visible to the parent application, as each application on android runs as a separate linux process.

However, if you are using the emulator or a developer/rooted device, the database file should be in /data/data/<package_name>/databases/ (link).


/data/data/package_name/databases

Taken from here

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜