Example #1
0
 public void save() {
   DBAdapter db = new DBAdapter(context);
   db.open();
   dbid = db.updateBank(this); // Update ID on insert as well.
   db.close();
 }
Example #2
0
 public void disable() {
   DBAdapter db = new DBAdapter(context);
   db.open();
   db.disableBank(dbid);
   db.close();
 }