开发者

New to Android: openOrCreateDatabase(): where does the sqlite file go?

开发者 https://www.devze.com 2022-12-28 03:21 出处:网络
When I call myDB = this.openOrCreateDatabase(\"DatabaseName\", MODE_PRIVATE, null); Where does the database fi开发者_C百科le get created?

When I call

myDB = this.openOrCreateDatabase("DatabaseName", MODE_PRIVATE, null);

Where does the database fi开发者_C百科le get created?

I can't find it anywhere. o_O


All databases, SQLite and others, are stored on the device in /data/data/package_name/databases.

http://developer.android.com/guide/topics/data/data-storage.html

0

精彩评论

暂无评论...
验证码 换一张
取 消