accessing .sqlite database (>1Mb size) in android

后端 未结 3 1926
陌清茗
陌清茗 2021-01-23 20:23

I am working on a library app and have books stored as .sqlite files. Each book\'s sqlite database file is about 10MB in size. I first tried to put it in assets folder and then

3条回答
  •  面向向阳花
    2021-01-23 20:34

    Have the app download the database from a web server to the sdcard - this saves the waste of storing both a compressed version in the .apk and an uncompressed version outside. And it's not really any more insecure as an .apk is just a zip file anyone who really wants to can read.

提交回复
热议问题