Code example for SQLiteStatement

Methods: bindLongbindStringexecuteInsert

     * @param history 
     * @return 
    public long insertTimerHistory(final long startedAt, final String desc,
    		final long finishedAt, final long duration, final String history) {
    	insertStmt.bindLong   (1, startedAt);
    	insertStmt.bindString (2, desc);
    	insertStmt.bindLong   (3, finishedAt);
    	insertStmt.bindLong   (4, duration);
    	insertStmt.bindString (5, history);
        return insertStmt.executeInsert();
     * Updates a pre-existing timer history record with new information 
     * @param record 
    public void updateTimerHistory(TimerHistoryDbRecord record) {
Stop searching for code, let great code find you!  Add Codota to your java IDE