title: Getting Strings from A Cursor in Android?
body: <p>My cose is SIMPLE.
  I have a SQLite-Database with <em><strong>three columns</strong></em>: </p>
  
  <ol>
  <li>rowid</li>
  <li>title => text</li>
  <li>content => text</li>
  </ol>
  
  <p>This is a method in my <code>dataBase</code>-class:</p>
  
  <pre><code>public Cursor fetchMessage(String tableNane, int id) {
      return myDataBase.rawQuery("SELECT rowid as _id, title FROM "+tableName
      +" WHERE rowid = "+id, null);
  }
  </code></pre>
  
  <p>This method will return only one row.</p>
  
  <p>In my activity I wrote this:</p>
  
  <pre><code>Cursor cursor = myDbHelper.fetchMessage(tableName, id);
  </code></pre>
  
  <p>Now, I want to store the content field's text in a String.</p>
  
  <p>How can this be done?</p>