title: Get the field value with a Cursor
body: <p>I'm creating an application and I have problems with <code>Cursor</code>. I have an <code>SQLiteDatabase</code> that returns me a <code>Cursor</code> when I try to fetch the values with this function:</p>
  
  <pre><code>public Cursor fetchOption(long rowId) throws SQLException {
  
      Cursor mCursor = mDb.query(true, DATABASE_TABLE, new String[] {KEY_ROWID,
          KEY_TITLE, KEY_BODY}, KEY_ROWID + "=" + rowId, null,
          null, null, null, null);
      if (mCursor != null) {
          mCursor.moveToFirst();
      }
      return mCursor;
  
  }
  </code></pre>
  
  <p>I don't know how to obtain the value of the field in the <code>Cursor</code>. If I do that like so:</p>
  
  <pre><code>String a = mOptionDb.fetchOption(0).getColumnName(0).toString();
  String b = mOptionDb.fetchOption(0).getColumnName(1).toString();
  String c = mOptionDb.fetchOption(0).getColumnName(2).toString();
  </code></pre>
  
  <p>I only obtain the name of the columns (<code>_id, title, body</code>) but not the values. Any suggestions on how to achieve this?</p>