Languages

Menu
Sites
Language
Accessing timer tick (and debug with emulator)

I am developing an app that needs a timer tick callback. But I am having problems determining what to use, and how to use it.

 

I have tried using the watch_app functions, but they can't be used with the emulator. I also saw some api's for ecore. What do I have to do to use them? Will they work in the emulator?

 

FWIW: I am using edje to build the ui, although that is not a strict requirement.

 

On a side note, is there any api/callback for timer ticks less than 1 second apart?

 

Any pointers greatly appreciated.

 

TIA

 

ken

 

Responses

3 Replies
bac

Thx for the reply, Andre.

 

The first link is dead (404).

 

I have looked at the stopwatch sample. Is that the "accepted"   way (via the animator apis) to have a generic timer tick callback?

 

As for threads: I have many years experience coding timer threads: in c/c++; windoze/linux/et al. I am not afraid of them, but since my app isn't (yet) a service, threads may make things too complicated.

 

ken

 

Yasin Ali
I have looked at the stopwatch sample. Is that the "accepted"   way (via the animator apis) to have a generic timer tick callback?

I think you may try in this way.

The link not working actually like below:

https://developer.tizen.org/development/guides/native-application/user-interface/efl/core-loop-and-os-interfacing/handling-main-loop

See ecore_timer_add(...) functionality and others.