android Programming Glossary: mdatabases
Android multiple databases open http://stackoverflow.com/questions/4498664/android-multiple-databases-open new SQLiteOpenHelper 2 private final SQLiteDatabase mDatabases new SQLiteDatabase 2 Constructs the database and open it. public.. new InternalDatabaseManager MyApplication.getInstance mDatabases INTERNAL mDatabaseManager INTERNAL .getWritableDatabase Checks.. INTERNAL or EXTERNAL. public void checkDbState int type if mDatabases type null mDatabases type .isOpen throw new IllegalStateException..
Android multiple databases open http://stackoverflow.com/questions/4498664/android-multiple-databases-open int EXTERNAL 1 private final SQLiteOpenHelper mDatabaseManager new SQLiteOpenHelper 2 private final SQLiteDatabase mDatabases new SQLiteDatabase 2 Constructs the database and open it. public DatabaseAdapter Open the internal_db mDatabaseManager.. DatabaseAdapter Open the internal_db mDatabaseManager INTERNAL new InternalDatabaseManager MyApplication.getInstance mDatabases INTERNAL mDatabaseManager INTERNAL .getWritableDatabase Checks the database state and throws an @link IllegalStateException.. the database. @param type Type of the database. Can be INTERNAL or EXTERNAL. public void checkDbState int type if mDatabases type null mDatabases type .isOpen throw new IllegalStateException The database has not been opened Closes the database..
|