Timers


Last Updated:

  1. priv8dan

    priv8dan New Member This Topic's Starter

    Joined:
    Aug 25, 2010
    Messages:
    3
    Likes Received:
    0
    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

    Joined:
    Jul 13, 2010
    Messages:
    1,934
    Likes Received:
    458
    What kind of timer do you need? Do you need something to happen after a certain amount of time?
     
  3. priv8dan

    priv8dan New Member This Topic's Starter

    Joined:
    Aug 25, 2010
    Messages:
    3
    Likes Received:
    0
    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

    Joined:
    Jul 13, 2010
    Messages:
    1,934
    Likes Received:
    458
    Why not use a Timer/TimerTask combo?
     

Share This Page

Loading...