same time :
// log some text each second :
CountDownTimer countDown = new CountDownTimer(Integer.MAX_VALUE, 1000)
{
private int i = 0;
@Override
public void onTick(long millisUntilFinished) {
Log.i("####", "###" + i);
i++;
}
@Override
public void onFinish() {}
};
countDown.start();
Then wait a few minutes.
For example I stop when my chronometer was at 7min44s. The value in
the log was 448seconds => 7min28s.
WTF ?!???
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment