title: I can't get data from Cursor Object
body: <p>I've following table structure in my SQLite Database.
  <img src="https://i.stack.imgur.com/88SQK.png" alt="enter image description here"></p>
  
  <p>In my SqliteOpenHelper class, I wrote following method.</p>
  
  <pre><code>public Form getAllForms(){
     SQLiteDatabase db = this.getReadableDatabase();
     Cursor cursor = db.rawQuery("select * from "+FORM_TABLE, null);
     int count = cursor.getCount();
     String formID = cursor.getString(0);
     Form form = new Form();
     form.setId(formID);
     cursor.close();
     db.close();
     return form;
  }
  </code></pre>
  
  <p>I'm sure there's some data in it because I already watched <code>count</code> in debugging mode and I saw the quantity of row that actually existing in database. But CursorIndexOutOfBoundException shows up at cursor.getString(0). plus cursor.getInt(0) and cursor.getString(1) didn't work also. What's the problem might be?</p>