1SQLiteDatabase db = this.getReadableDatabase();
2Cursor c = db.rawQuery("SELECT column1,column2,column3 FROM table ", null);
3if (c.moveToFirst()){
4 do {
5 // Passing values
6 String column1 = c.getString(0);
7 String column2 = c.getString(1);
8 String column3 = c.getString(2);
9 // Do something Here with values
10 } while(c.moveToNext());
11}
12c.close();
13db.close();