title: The method pause() is undefined for the type Thread?
body: <p>im new to Java can some please help me i cant identify activity super.pause();from biginig it was .OnPause .OnResume .. .. .. like that then i was pushted to change all to .pause .resume .. .. .. 
  <a href="http://i.stack.imgur.com/q5N7W.jpg" rel="nofollow">http://i.stack.imgur.com/q5N7W.jpg</a></p>
  
  <p>public class CleaningActivity extends Activity {</p>
  
  <pre><code>@Override
  protected void onCreate(Bundle savedInstanceState) {
      // TODO Auto-generated method stub
      super.onCreate(savedInstanceState);
      setContentView(R.layout.splash); 
  }   Thread logoTimer = new Thread(){
          public void run(){
              try{
                  int logoTimer = 0;
                  while (logoTimer &lt;21000){
                          sleep (100);
                          logoTimer = logoTimer +100;
                  }
              startActivity(new Intent("com.iwilldothis.CLEARSCREEN"));
              } catch (InterruptedException e){
                  // TODO Auto-generated catch block
                  e.printStackTrace();}
              finally{
                  finish();
              }
          };
  
  
          protected void onStart() {
              // TODO Auto-generated method stub
              super.start();
              }
  
          protected void onResume() {
              // TODO Auto-generated method stub
              super.resume();
              }
  
         protected void onPause() {
              // TODO Auto-generated method stub
              super.pause();
            }
  
          protected void onStop() {
              // TODO Auto-generated method stub
              super.stop();
              } 
  
          protected void onDestroy() {
             // TODO Auto-generated method stub
             super.destroy();}
  };
      }
  </code></pre>