![]() These will include the initial SQLite database file for creation and optionally any SQL upgrade scripts. Rather than implementing the onCreate() and onUpgrade() methods to execute a bunch of SQL statements, developers simply include appropriately named file assets in their project's assets directory. It is implemented as an extension to SQLiteOpenHelper, providing an efficient way for ContentProvider implementations to defer opening and upgrading the database until first use. This class provides developers with a simple way to ship their Android app with an existing SQLite database (which may be pre-populated with data) and to manage its initial creation and any upgrades required with subsequent version releases. ![]() THIS PROJECT IS NO LONGER MAINTAINED Android SQLiteAssetHelperĪn Android helper class to manage database creation and version management using an application's raw asset files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |