SQLiteOpenHelper
The SQLiteOpenHelper class contains a useful set of APIs for managing your database. When you use this class to obtain references to your database, the system performs the potentially long-running operations of creating and updating the database lazily and only when needed, not during application startup. All you need to do is call writableDatabase().
The optional constructor key remains owned by the caller. This helper copies it during construction and does not retain the supplied array. The caller should clear the array immediately after construction, including when construction throws.
Since
0.1.0
Constructors
Creates a helper with an explicit database configuration.
Properties
Create and/or open a database that will be used for reading and writing. The first time this is called, the database will be opened and onCreate(SQLiteDatabase) and onUpgrade(SQLiteDatabase, int, int) or onDowngrade(SQLiteDatabase) can be called and each inside a transaction. If the transaction succeeds onOpen(SQLiteDatabase) is called.