Android – Get time of chronometer widget
If you look at the source of the Chronometer class, you’ll see that it doesn’t store the elapsed time in a field and it calculates it internally every time it needs to update the display. However it’s relatively easy to do the same in your own code: long elapsedMillis = SystemClock.elapsedRealtime() – chronometerInstance.getBase(); This assumes … Read more