Example usage for Java android.database.sqlite SQLiteOpenHelper fields, constructors, methods, implement or subclass
The text is from its open source code.
SQLiteOpenHelper(@Nullable Context context, @Nullable String name, @Nullable CursorFactory factory, int version) Create a helper object to create, open, and/or manage a database. | |
SQLiteOpenHelper(@Nullable Context context, @Nullable String name, int version, @NonNull SQLiteDatabase.OpenParams openParams) Create a helper object to create, open, and/or manage a database. |
void | close() Close any open database object. |
String | getDatabaseName() Return the name of the SQLite database being opened, as given to the constructor. |
SQLiteDatabase | getReadableDatabase() Create and/or open a database. |
SQLiteDatabase | getWritableDatabase() Create and/or open a database that will be used for reading and writing. |