import android.database.sqlite.SQLiteDatabase;
import android.os.AsyncTask;
import android.os.OperationCanceledException;
-import android.util.Log;
import net.ktnx.mobileledger.err.HTTPException;
import net.ktnx.mobileledger.json.AccountListParser;
m = reComment.matcher(line);
if (m.find()) {
// TODO: comments are ignored for now
- Log.v("transaction-parser", "Ignoring comment");
+// Log.v("transaction-parser", "Ignoring comment");
continue;
}
//L(String.format("State is %d", updating));
.rawQuery("SELECT 1 from transactions where data_hash = ?", new String[]{dataHash}))
{
boolean result = c.moveToFirst();
- debug("db", String.format("Transaction %d (%s) %s", id, dataHash,
- result ? "already present" : "not present"));
+// debug("db", String.format("Transaction %d (%s) %s", id, dataHash,
+// result ? "already present" : "not present"));
return result;
}
}
item.getCurrency()
});
}
- debug("profile", String.format("Transaction %d stored", tr.getId()));
+// debug("profile", String.format("Transaction %d stored", tr.getId()));
}
public String getOption(String name, String default_value) {
SQLiteDatabase db = MLDB.getDatabase();