title: Understand the R class in Android
body: <p>In android, I'm not sure I quite understand the <code>R</code> class. I'm going through the sudoku example, and I have this snippet of code:</p>
  
  <pre><code>switch (v.getId()) // the id of the argument passed is evaluated by switch statement
  {
      case R.id.about_button: // 
      Intent i = new Intent(this, about.class);
      startActivity(i);
      break;
      // More buttons go here (if any) ...
  }
  </code></pre>
  
  <p>I'm brand new to Java, but from what I gather it looks like it's taking input (the touch screen being touched on the button) and evaluating the argument.  Then the case statement is setup if the about button is recognized, and a new interface screen is created and then navigated to on the phone.</p>
  
  <p>Is this right?</p>
  
  <p>If I got the gist of that correct, why is the deal with the "R"  class?  </p>
  
  <p>Why is it called to recognize the ID of the button?  </p>
  
  <p>I thought the super class (in this project) was the SudokuActivity class.  </p>