语言

Menu
Sites
Language
Displaying Timer Time

Hi,

I have used a timer in my App.

I want to display the Timer on the top of my App.

But,i am not able to find any API to do the same or to retrieve the current timer time.

Does anyone has any idea how to acheive this?

Regards,

编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

2 回复
MooChang Kim
Hi. I think you need to use workaround.. get and save 'current time'(basetime) information when setting timer. and start another 1sec timer repeatly to display remain time. but this 1sec calculation may be the point.. because time diff may be accumulated... using offset from basetime saved in first step will remove this issue. god luck.
Siddharth Singh
Thanks Kim.. I am able to do it using timer. Will look into the stopwatch sample once to check if it can be done otherwise.