In Chronometer, how can we extract the time elapsed and store it separately in variables.
For example, store the number of hours, minutes, seconds elapsed in separate int variables?
Is it possible? If Yes, How?
Apart from Chronometer can it be better done using some other concept? If Yes, what is it?
You can get the time value (in milliseconds) doing that :
Then you can simply retrieve the hours, minutes and seconds as follows :