How can I make stop watch in Android?
I am need stop watch like widget in android.Currently I am using Android chronometer,it is not fulfilling my requirements as when I am stopping the chronometer its stop开发者_开发知识库s in UI but but it continues to tick in background.
Do you really need to stop the chronometer? Just set an internal flag in your widget that you are no longer measuring time.
Take a look at the related(1) questions(2).
精彩评论