While working with SQLiteCursor in Android i came to know that the getColumnIndex() is behaving case sensitive for example:
Example:
getColumnIndex() is case sensitive:
Column Name in DB was: Rules
cursor.getColumnIndex("Rules") //workes fine
cursor.getColumnIndex("rules") //throws error, see the error detail