tags:

views:

127

answers:

1

Hi all

The Chronometer widget initial text is 00:00

but when I start the Chronometer its text becomes blank

How can I display the text of the Chronometer as it cunts up ?

thanks.

A: 

Ok guys

thanks for your help

I didn't implement the setOnChronometerTickListener listner and didn't handle the

onChronometerTick

method to display the current value of the ChronoMeter

Mina Samy
You don't necessarily need to do those - assuming you are talking about the example I posted, that's only if you want to do something complicated with the Chrono widget. Normally just a simple <Chronometer ...> in your XML followed by a `Chronometer chrono = (Chronometer) findViewBy...` and `chrono.start()` in your code is all you need.
Steve H
Thanks stevewhat I wanted to do is to make the Chronometer text updates as time elapses
Mina Samy