SQLite Cursors and Content Values:
Queries in Android are returned as Cursor objects. Rather than extracting and returning a copy of the result values, Cursors act as pointers to a subset of the underlying data. Cursors are a managed way of controlling your position (row) in the result set of a database query.
The Cursor class includes several functions to navigate query results including, but not limited to, the following:
moveToFirst >> Moves the cursor to the fi rst row in the query result.
moveToNext >> Moves the cursor to the next row.
moveToPrevious >> Moves the cursor to the previous row.
getCount >> Returns the number of rows in the result set.
ing an exception if no column exists with that name).
getColumnName >> Returns the name of the specifi ed column index.