Here are the examples of the java api com.droidb.com.droiddblibrary.database.Database taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
Source : MyApplication.java
with Apache License 2.0
from pk4393
with Apache License 2.0
from pk4393
/**
* Created by PrashantKumar on 5/15/17.
*/
public clreplaced MyApplication extends Application {
private Database mDatabase;
@Override
public void onCreate() {
mDatabase = new Database(this);
try {
mDatabase.open();
} catch (SQLException e) {
Log.e("SQLException", e.getMessage());
}
super.onCreate();
}
@Override
public void onTerminate() {
mDatabase.close();
super.onTerminate();
}
}