title: Android getColumName and getColumnIndex
body: <p>I'm an android novice and I have a problem with my cursor. I can't access the data using:
  <code>cursor.get(cursor.getColumnIndex(columnName));</code></p>
  
  <p>I tried the following code to test for an error:</p>
  
  <pre><code>while (cursor.moveToNext()) {
          int x = 2;
          Log.i("MyDebug", "Index: " + x);
          Log.i("MyDebug", "Name: " + cursor.getColumnName(x));
          Log.i("MyDebug", "Index again: " + cursor.getColumnIndex(cursor.getColumnName(x)));
      }
  </code></pre>
  
  <p>Result from the Debug Monitor:</p>
  
  <pre><code>Index: 2 
  Name: mainMenu.title 
  Index again: -1
  </code></pre>
  
  <p>Shouldn't the result of "Index again" be 2? What am I doing wrong?</p>