I have a category table with two columns category_id and name. I have created a data helper class named CategoryDataHelper. I have a m
category_id
name
CategoryDataHelper
With the SimpleCursorAdapter, the onItemClick function passes in the databases id for the selected item. So, the solution is simply
SimpleCursorAdapter
onItemClick
long category_id = id