DatabaseContext

public class DatabaseContext extends ContextWrapper

Fields

mDatabasePath

protected File mDatabasePath

Constructors

DatabaseContext

public DatabaseContext(Context base, File databasePath)

Methods

getDatabasePath

public File getDatabasePath(String name)

getDbForLayer

public static SQLiteDatabase getDbForLayer(VectorLayer layer)

openOrCreateDatabase

public SQLiteDatabase openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler)

openOrCreateDatabase

public SQLiteDatabase openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory)