title: Android Content Provider; Help designing respectable URI structure
body: <p>I'm designing an android app and would like to use a Content Provider to populate my list views. Problem is I need data from from two different sources (tables in the database): One set of static data, and another for user progress data related to the the static data.</p>
  
  <p>So for example, I got a list of quizzes, and a list of grades for a user for each of these quizzes.</p>
  
  <p>If SimpleCursorArray took two cursors then I could use:</p>
  
  <pre><code>/quizzes  
  /users/#/quiz_grades 
  </code></pre>
  
  <p>as the two URI's and pass the cursors to the Adapter.</p>
  
  <p>But SimpleCursorArray can only take one cursor so I need to join the two tables I have. No problem, but how do I design a <em>clean</em> URI?</p>
  
  <p>Maybe something like:  </p>
  
  <pre><code>/users/#/quizzes
  </code></pre>
  
  <p>But this doesn't feel right because the questions don't belong to users...</p>
  
  <p>Or maybe:  </p>
  
  <pre><code>/quizzes/users/# 
  </code></pre>
  
  <p>But again, users don't belong to questions...  </p>
  
  <p>Plus sometimes I need to retrieve a quiz on its own without the user grade so I also need:  </p>
  
  <pre><code>/quizzes/#  
  </code></pre>
  
  <p>I know this is a very pedantic question, but my OCD nature won't let me progress with any satisfaction until I figure this out...</p>