For those who find statements like cursor.getString(cursor.getColumnIndexOrThrow(COLUMN_NAME)); or cursor.getColumnIndex(COLUMN)==-1 ? value=FALLBACK : value=cursor.getString(COLUMN); a bit too arcane and verbose.