Beispiel #1
0
 public void closeDb() {
   db.close();
   helper.close();
 }
Beispiel #2
0
 public NewMsgDbHelper(Context context) {
   helper = new SqlLiteHelper(context);
   db = helper.getWritableDatabase();
 }