Code example for SQLiteStatement

Methods: bindBlob

0
   */ 
  public void bind(final int index, final byte[] value) {
    if (value == null) {
      mPreparedStatement.bindNull(index);
    } else { 
      mPreparedStatement.bindBlob(index, value);
    } 
  } 
 
  /** 
   * Bind the value to an index. A prepareForInsert() or prepareForReplace() 
   * without a matching execute() must have already have been called. 
   * @param index the index of the slot to which to bind 
   * @param value the value to bind 
   */ 
  public void bind(final int index, final String value) {
    if (value == null) {
      mPreparedStatement.bindNull(index);
    } else { 
      mPreparedStatement.bindString(index, value);
    }