1

Android sqlite database sqlite database empty _id fields

view story
linux-howto

http://stackoverflow.com – My database creates and populates without any problems. I even have a custom adapter to display the rows in listviews in my activity. The problem is my _id column doesnt actually have any ids. I have a dialogue box come up on listItemClick with the data being put into text boxes, there are buttons at the bottom, i'm trying to get the 'delete' button to work so the user can delete that record. I'm trying to delete the record calling the _id however the ID column of my database is empty for all my records. The dialogue box displays the ID number for each item and they come up as 0 for all of t (HowTos)