title: Can't get any values in the cursor
body: <p>I'm confused why I can't get any values in the <code>cursor</code>.
  What's wrong in my code..</p>
  
  <p>here's the code..</p>
  
  <pre><code> sqLiteDatabase = getReadableDatabase();
   Cursor cursor = sqLiteDatabase.query("bank",new String[]{"name", "acno", "available"},"bank_index = ?",new String[]{String.valueOf(bank_index)},null,null,null);
   cursor.moveToFirst();
   String name = cursor.getString(cursor.getColumnIndex("name"));
   String acno = cursor.getString(cursor.getColumnIndex("acno"));
   contentValues.put("bank", name + " Account number: " + acno);
  </code></pre>
  
  <p>I got error of <code>CursorOutOfBoundsException</code> on last third line of the above code..</p>
  
  <p>query of the table:</p>
  
  <pre><code> sqLiteDatabase.execSQL("create table bank(bank_index integer primary key,name text,acno text,branch text,available text)");
  </code></pre>