title: Own ContentProvider with SQLite and multiple tables
body: <p>I am reading <a href="http://www.vogella.com/articles/AndroidSQLite/article.html#contentprovider">this tutorial</a> on implementing my own ContentProvide for working with SQLite. Int the ContentProvider.query there are a few thing that puzzles me. It seems very hardcoded to just one table (the todo table in the tutorial), but maybe Im just not getting it? Now if I wanted to query another table, lets say nodo, how would I change the ContentProvider?</p>
  
  <p>Should I append the table names somehow in queryBuilder.setTables(String inTables)?</p>
  
  <p>What about the CONTENT_TYPE and CONTENT_ITEM_TYPE, should there be one for each table?</p>
  
  <p>That about the TODO and TODO_ID varibles and the switch in the query method?</p>
  
  <p>It seems I need to have a lot of if/switch conditions to support multiple tables with the same ContentProvider, is this the way to go or am I on a wrong path?</p>
  
  <p>Thank you
  <br>Søren</p>