2

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.

Altaf
  • 5,150
  • 10
  • 39
  • 55
  • Altaf, I recommend that you check the events that you generate when you touch the stop button, for instance. Is the event properly handled? Many of them get lost in the maze when handling events. So please check. :-) Good luck. –  Feb 07 '11 at 12:34

1 Answers1

1

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

Community
  • 1
  • 1
Axarydax
  • 16,353
  • 21
  • 92
  • 151