Android Blog

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

}
Posted by Unknown at 23:24
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Android

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Unknown
View my complete profile

Pages

  • Home

Blog Archive

  • ►  2014 (1)
    • ►  May (1)
  • ►  2013 (47)
    • ►  September (5)
    • ►  August (4)
    • ►  July (1)
    • ►  June (6)
    • ►  May (6)
    • ►  April (4)
    • ►  March (11)
    • ►  February (4)
    • ►  January (6)
  • ▼  2012 (41)
    • ▼  December (14)
      • Jquery Mobile: Filtered List - only match beginnin...
      • android: Intent
      • android: Intent clear flags
      • android: Count down timer
      • android: Getting source code from an APK file
      • android: android drawable folder for large screens...
      • android: Showing keypad moves layout up
      • android: User Current location
      • android: android with SOAP webservice interaction.
      • android: alphabet indexer / display alphabets whil...
      • android: SharedPreference to compare dates.
      • android: menus
      • android: Preventing WebView reload on Rotation
      • Jquery Mobile: page load
    • ►  November (7)
    • ►  October (7)
    • ►  September (13)
Simple theme. Theme images by luoman. Powered by Blogger.