Trying to set up a countdown timer in Android through multiple Activites
<p>I'm trying to create a app for airports, that the top line will always display a countdown timer to when the plane leaves. This is the code I had. </p>

<p>This class is declared in each activity class.  <code>/countdowntimer</code> is an abstract class, so extend it and fill in methods:</p>

<pre><code>public class MyCount extends CountDownTimer{

    public MyCount(long millisInFuture, long countDownInterval) {
        super(millisInFuture, countDownInterval);
    }

    @Override
    public void onFinish() {
        tv.setText(”done!”);
    }

    @Override
    public void onTick(long millisUntilFinished) {
        tv.setText(”Left: ” + millisUntilFinished/1000);
    }
}
</code></pre>

<p>But I wanted it to run on all the activities.  I was thinking about having the notification manger to start a thread every 10 seconds, but I cannot access the UI memory on its thread.</p>

<p>Does anybody have a good solution to how to do this?</p>
