2

I created project from this URL: http://www.vogella.de/articles/AndroidSQLite/article.html

but where is the database file (.db or .sqlite)?

Can anyone tell me the exact location?

Waiting for your response....

3 Answers 3

4

The databases are stored in

/data/data/your.applications.package/databases

you can use the adb shell to that directory and open the db with sqlite3.

Sign up to request clarification or add additional context in comments.

Comments

3

Basically your database will be stored in this location

data/data/your.project.packageName/databases

Comments

2

show this

in DDMS>> file explorer you can get db file

12 Comments

but i am not getting any file or folder in file explorer
if there is code problem are raise then also db file are not created over there, so first you have to check your code correctly and make sure everything are gone same in tutorial
it is same. i have just copied the code. so no chance that anything goes wrong
apply some logic and check that code becase you have to some change from that code. and still get problem then this is not a problem of "view database file" so quit this discussion and accept my answer.
tame nikunj patel ne aolkho cho?
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.