I want to add a timer to my mobile application, which I'm developing using Titanium framework. I didn't find any related thing in documentation. Can anybody suggest a solution for this problem.
Thanx
If you mean a timer for executing code later, just use javascript setTimeout or setInterval.
setTimeout(function(){
toDoLater();
}, 1000);
difference being setInterval repeats and setTimeout executes once.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With