TTimer Interval problem lazarus / 43-Android ---------------------------------------------------------------------- Gerbert · 2012-05-08 08:46 Hello, I use a TTimer component to do something every 5 min. I have set the Interval to 300000. The start event is fired when I enabled the timer. After 5 minutes the timer event is fired. Then after about each 1 minute the timer event is fired. This is not correct because the interval is set on 300000. I am using the Lazarus SVN deployment version (latest version) on Linux. I am using FPC 2.6.0 ---------------------------------------------------------------------- marcov · 2012-05-08 09:46 Components like timers are highly operating system (and even widgetset) dependent. What are your testing conditions? ---------------------------------------------------------------------- User137 · 2012-05-08 10:55 At least there is alternatives in this thread: http://lazarus.freepascal.org/index.php/topic,16530.0.html Using interval 1000 and using system time to see when 5 minutes have passed. ---------------------------------------------------------------------- Gerbert · 2012-05-08 12:08 @marcov I am testing on Android 2.3.7 on a HTC Desire GSM. @User137 I will try the given example. Thanks. ---------------------------------------------------------------------- felipemdc · 2012-05-11 08:01 The timer is native from Android. You can always inspect the code to see if you find if I am doing something wrong, it is the java file in src/com/pascal/lcltest/ But it is probably just how the native timer works.