Altaf
Altaf

Reputation: 5170

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 stops in UI but but it continues to tick in background.

Upvotes: 2

Views: 3748

Answers (1)

Axarydax
Axarydax

Reputation: 16623

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).

Upvotes: 1

Related Questions