View Single Post
Posts: 479 | Thanked: 1,284 times | Joined on Jan 2012 @ Enschede, The Netherlands
#79
Originally Posted by Morc View Post
Hi, I've been thinking of adding auto refresh interval to my app and also to add settings for that auto refresh and also for other things. Are there any simple code examples for C++ or JavaScript?
Guess we'd need a bit more than that. What language(s) is the app? QML has the Timer object, of which you can see an example earlier on this very page.

To store settings, SailishOS has the Configuration API for QML. I must say the documentation isn't very clear and lacking of any examples...
 

The Following 2 Users Say Thank You to Fuzzillogic For This Useful Post: