how to set current time running continuesly with hours ,minutes ,seconds to textview in android?
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Actually by the time my Activity starts i should display current time in hours ,minutes,seconds(HH:mm:ss) in 24 hours format, and this time should run continuously as seconds need to change continuously gradually minutes and hours also. I kept a stop button in activity. once stop is clicked the time should stop and that stopped time need to be saved in a string . | ||||
Try like this.. onClick of STOP
Use this string in To get Watch like display refer here | |||
Try this code..
| |||
default
.
stackoverflow.comm
No comments:
Post a Comment