Martin
Martin

Reputation: 4846

where is my SQLite database on real device?

on the emulator, my SQLite database lives in /data/data/pkg.path.whatever

however, once I put the app on the device, I can't find it to run SQLiteSpy or some other such tool. Any idea where it lives on a real device? I'm testing on a Samsung Galaxy S and have looked all through the folders to no avail. On the device there IS a /data folder and the permissions are open (drwxrwx--x) but clicking on it in Eclipse does nothing. Is there a driver I'm missing to be able to see that in Windows or in Eclipse?

Thanks

Upvotes: 2

Views: 967

Answers (2)

Suchi
Suchi

Reputation: 10039

Its in /data/data/packagename/databases/

Upvotes: 0

user2443607
user2443607

Reputation:

It is stored under the same conditions that are in the emulator, the difference is that you can't access it unless your phone is rooted!

Upvotes: 2

Related Questions