Ejemplo n.º 1
0
 public synchronized boolean isAccountExists(Account account) {
   return isAccountExists(account.getUrl(), account.getToken(), account.getUserId());
 }
Ejemplo n.º 2
0
 public synchronized void addAccount(Account account) {
   getWritableDatabase().insert(Account.TABLE_NAME, null, account.toContentValues());
 }