Using Eclipse to build an Android app. When I create/open a database (SQLite) my log indicates that its location is /data/data/package/databases/dbname. Is there a way to access this db using one of the Windows-based SQLite managers, eg; SQLite Database Browser. The path must be the path as it would be on the device, but I cannot find the DB on my Windows box. Any help appreciated by this Android novice.
Asked
Active
Viewed 1,102 times
2 Answers
0
you can pull out the db file using DDMS in eclipse ..
thanks sir, I forgot to mention the "emulator" above...........
these link 'll be help ful to you
Android eclipse DDMS - Can't access data/data/ on phone to pull files

Community
- 1
- 1

Dheeresh Singh
- 15,643
- 3
- 38
- 36
-
4Only if the database is on an emulator, or possibly a rooted device. There is no way to access the database file on standard production hardware. – CommonsWare Jun 14 '12 at 17:27
-
yes .... only on emulator http://stackoverflow.com/questions/6154092/reading-database-file-from-android-device – Dheeresh Singh Jun 14 '12 at 17:29
0
You could actually use a BackupAgent to access the database. You can't access it from a Explorer like windows howver you can code it. See this thread for more info:

Community
- 1
- 1

sebastianf182
- 9,844
- 3
- 34
- 66