1. Are you ready for the Galaxy S20? Here is everything we know so far!

Content Provider Multiple Tables Error

Discussion in 'Android Development' started by starsg38, Oct 20, 2014.

  1. starsg38

    starsg38 Lurker
    Thread Starter

    I am using a content provider for a note taking type of app. It worked fine when I had just one table in the content provider but now that I have added another table I must have messed something up. I am able to read, write & delete in the app but when I try to click on the list item to update/edit the entry the app crashes telling me that has invalid tables.

    I know the tables are not invalid because it recognizes them when I create new entries. I believe it has something to do with my content provider because it worked fine until I tried to add a second table.

    Here is my code:

    Content Provider

    File that carries out the edit


    Database Helper File



Share This Page