1

Android Passing Countdown Timer for 2 Activities or more

view story
linux-howto

http://stackoverflow.com – I'm trying to pass the countdownTimer value from the activity 1 to the activity 2 and start the countdown Timer in the activity 2 from the value that got from the activity 1 , But I didn't know how to make the starting point for the timer in the activity 2 as a variable, here is my code for activity 1 new CountDownTimer(20000, 1000) { public void onTick(long millisUntilFinished) { tv.setText("seconds remaining: " + millisUntilFinished / 1000); } public void onFinish() { tv.setText("done!"); } }.start(); next.setOnClickList (HowTos)