Tsunaze
Tsunaze

Reputation: 3254

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 manager in DDMS. Does someone know when we create a database, where it's installed ?

Upvotes: 0

Views: 1112

Answers (2)

Igor
Igor

Reputation: 827

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).

Upvotes: 1

blindstuff
blindstuff

Reputation: 18348

/data/data/package_name/databases

Taken from here

Upvotes: 0

Related Questions