Android Database
I'm Working on android, so I want to know wher开发者_Go百科e the database will be stored? how to check it stored or not?
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
Use the DDMS perspective of Eclipse and look under data/data/<your app package name>/databases
If you mean SQLiteDatabase on Android device, then:
/data/data/com.example.xxx/databases/xxx.db
/data/data/<package_name>/databases/.
cf : http://developer.android.com/guide/developing/tools/adb.html#sqlite and http://developer.android.com/guide/topics/data/data-storage.html#db
精彩评论