1. Check out our companion app, Forums for Android! Download from Google Play

Timers

Discussion in 'Application Development' started by priv8dan, Aug 25, 2010.

  1. priv8dan

    priv8dan New Member
    Thread Starter
    25

    Aug 25, 2010
    3
    0
    25
    Canada
    Hello everyone,

    Which timer function is easier to work with in self developed app? The one used in Java or importing the one from android.os.CountDownTimer? I want to use it in a current program I am writing that counts down until something is pressed correctly. Please help!
     

    Advertisement

  2. jonbonazza

    jonbonazza Well-Known Member
    163

    Jul 13, 2010
    1,934
    459
    163
    Male
    What kind of timer do you need? Do you need something to happen after a certain amount of time?
     
  3. priv8dan

    priv8dan New Member
    Thread Starter
    25

    Aug 25, 2010
    3
    0
    25
    Canada
    yes, it's a two player game, when the timer runs down to 0 it changes turns and continues back and fourth...
     
  4. jonbonazza

    jonbonazza Well-Known Member
    163

    Jul 13, 2010
    1,934
    459
    163
    Male
    Why not use a Timer/TimerTask combo?
     

Share This Page

Loading...