Provides Information on Android
Friday, 21 December 2012
android: Count down timer
int timer = b.getInt("time", 0);
new CountDownTimer(timer, 500) {
@Override
public void onTick(long millisUntilFinished) {
tv1.setText("Sec Left:" + millisUntilFinished / 1000 + " ");
// TODO Auto-generated method stub
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment