Search code examples
androidchronometer

Problem starting with chronometer


My chronometer is always starting from 0:10 or like some other times... it s not starting from 0:01 itself..any one can help me

Thank you,


Solution

  • i got an answer

      final Chronometer chrono = (Chronometer)findViewById(R.id.chronometer);
    
      chrono.setBase(SystemClock.elapsedRealtime());
      chrono.start();
    

    once it will help to others thank you,,