Sasikumar Murugesan
Sasikumar Murugesan

Reputation: 4520

Android Database

I'm Working on android, so I want to know where the database will be stored? how to check it stored or not?

Upvotes: 1

Views: 245

Answers (4)

skkap
skkap

Reputation: 348

If you mean SQLiteDatabase on Android device, then:

/data/data/com.example.xxx/databases/xxx.db

Upvotes: 1

techi.services
techi.services

Reputation: 8533

Use the DDMS perspective of Eclipse and look under data/data/<your app package name>/databases

Upvotes: 1

Will Tate
Will Tate

Reputation: 33509

Your applications database will be stored in /data/data/<your package name>/databases.

The method I usually use to check it would be to use the sqlite3 command through the adb shell. You can use the .dump command or .schema to view your databases current state.

Cheers

Upvotes: 4

Related Questions