title: setOnClickListener not working and throwing error
body: <p><strong>Below is my program and I am getting this error:</strong></p>
  
  <pre><code>Description Resource    Path    Location    Type
  The method setOnClickListener(View.OnClickListener) in the type View is not applicable for the arguments (welcome)  welcome.java    /testcalculator/src/com/testcalculator  line 31 Java Problem
  </code></pre>
  
  <p><strong>welcome.java</strong></p>
  
  <pre><code>package com.testcalculator;
  public class welcome extends Activity{
     public void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
          setContentView(R.layout.welcome1);
          Button playBtn = (Button) findViewById(R.id.playBtn);
          playBtn.setOnItemClickListener();
          Button exitBtn = (Button) findViewById(R.id.exitBtn);
          exitBtn.setOnClickListener(this);
      }
      public void onClick(View v) {
          Intent i;
          switch (v.getId()){
          case R.id.playBtn :
              i = new Intent(this, testcalculator.class);
              startActivity(i);
              break;
          case R.id.exitBtn :
              finish();
              break;
          }
      }
     }
  </code></pre>
  
  <p>The problem is, I have all the required import options in my problem but still I am getting error message.</p>