title: Creating an intent in a new method
body: <p>So I want an intent to start an Activity that simply brings up a dialog popup box telling the user how to use the app.</p>
  
  <p>I have the code:</p>
  
  <pre><code>private final View.OnClickListener btnClick = new View.OnClickListener() {
      @Override
      public void onClick(View v) {
          switch (v.getId()) {
          case R.id.about_box:
              Intent i = new Intent(this, About.class);
              startActivity(i);
              break;
          }
      }
  }
  </code></pre>
  
  <p>but the Intent is giving me the error:</p>
  
  <blockquote>
    <p>The constructor Intent(new View.OnClickListener(){}, Class) is
    undefined</p>
  </blockquote>
  
  <p>Any idea on workarounds?</p>
  
  <p>Thanks.</p>