List of usage examples for android.database.sqlite SQLiteDatabase openDatabase
public static SQLiteDatabase openDatabase(@NonNull String path, @Nullable CursorFactory factory, @DatabaseOpenFlags int flags, @Nullable DatabaseErrorHandler errorHandler)
From source file:Main.java
public static SQLiteDatabase openOrCreateDatabase(String path, SQLiteDatabase.CursorFactory factory) { return SQLiteDatabase.openDatabase(path, factory, SQLiteDatabase.CREATE_IF_NECESSARY, null); }