title: Android: Start activity from a MenuItem
body: <p>I'm new on Android, and I'm trying to start an Activity from a <code>MenuItem</code> choose of the user.</p>
  
  <p>Actually, I'm building my menu (and is working OK) from my main activity class using a <code>MenuInflater</code>:</p>
  
  <pre><code> @Override
      public boolean onCreateOptionsMenu(Menu menu) 
      {
          super.onCreateOptionsMenu(menu);
          //the Menu Inflater class allows to create a menu from a XML File
          MenuInflater inflater = new MenuInflater(this);
          inflater.inflate(R.layout.menutest,menu);
          return true;
      }
  </code></pre>
  
  <p>And im handling the Menu selection using the following code (working fine too):</p>
  
  <pre><code>public boolean onOptionsItemSelected(MenuItem item) {
      switch (item.getItemId()) 
      {
          case R.id.MenuItemNewWebsite:
              ShowScreenAddSite();
          break;
  
          default:    
          break;
      }
      return false;
  }  
  </code></pre>
  
  <p>I have a second and last activity called AddWebsite, and i would like to start it, but the following code doesnt work:</p>
  
  <pre><code>protected void ShowScreenAddSite()
  {
      Intent i = new Intent(AddWebsite.class);
      startActivity(i);
  
  }
  </code></pre>
  
  <p>Do you know what is the extra thing that I have to pass to the <code>Intent</code> constructor?</p>