Hello All
In my blackberry application, I am doing something like below to update the label field for every second in run method of my thread class. But problem is application displays pre loader/hour glass for every update. I want to get rid of that hour glass and I want to see smooth update of the label field to be happened. How can I do that
public void run()
{
while(true)
{
Thread.sleep(1000);
setRecordingTime(new Date().getTime());
}
}
private void setRecordingTime(long maxRecordTime) {
synchronized (UiApplication.getEventLock()) {
label.setText(getFormatted(maxRecordTime));
}
}
Thanks Sudhakar Chavali