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