This is because in Android, the first column in a db table can be retrieved by a 0 index. In jdbc, the same column in the same table would have to be retrieved using 1. 

Will add the comment.