I am trying to find the path for the android database files on Ubuntu 10.4, because I want to access with SQLite Browser. Someone can tell?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In Android, the database that you create for an application is only accessible to itself; other applications will not be able to access it.
Once created, the SQLite database is stored in the
/data/data/<package_name>/databasesfolder of an Android device.How to see the database file:If you are using
Eclipse:switch to DDMS perspective – > File Browser -> Browse to data/data/your_package_name
folder. There you would see your database.
(To open DDMS Perspective, go to
window -> open Perspective -> DDMS)And also you can use the
adb shellto cd to that directory and open thedb with sqlite3.You can also copy files or database from Android devices or from emulator by using
adb pull, for more info refer this: http://developer.android.com/guide/developing/tools/adb.html#copyfiles