title: How to start an activity from the onFinish method of a countdown?
body: <p>I'm kind of new to Android development and I encounter a problem here.</p>
  
  <p>I want to launch an activity (another Class) when my countdown is over.</p>
  
  <p>Edit:</p>
  
  <p>Eclipse is telling me the code won't work, underlining part of my code in red.</p>
  
  <p>The problem doesn't come from the Manifesto or such, I just can't figure out how to implement the call of my other activity.</p>
  
  <p>/Edit</p>
  
  <p>Here is my code:</p>
  
  <pre><code>public static void launch_countdown(final TextView tv1){
      new CountDownTimer(30000, 1000) {
  
           public void onTick(long millisUntilFinished) {
               tv1.setText("" + millisUntilFinished / 1000);
           }
  
           public void onFinish() {
               /* I want to launch my Activity here */
           }
      }.start();
  } 
  </code></pre>
  
  <p>So basically, what should I replace my comment by ?</p>
  
  <p>PS: I made some research but it doesn't seem to work in my situation:</p>
  
  <p><a href="https://stackoverflow.com/questions/9147609/how-to-call-an-activity-from-a-countdowntimer">How to call an activity from a CountDownTimer?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/7599955/android-finish-activity-and-start-another-one">Android finish Activity and start another one</a></p>
  
  <p><a href="https://stackoverflow.com/questions/9064744/how-to-start-an-activity-upon-the-completion-of-a-timer">How to start an activity upon the completion of a timer?</a></p>