aya_lawliet
23rd June 2011, 10:00
Hi everyone,
Before I posted this thread, I searched the forums for a solution. But I couldn't find what I'm looking for.
I wanted to add a feature on our app, that checks application updates on a once-a-day basis. Currently, everytime you run the app, it checks for updates. If you run the app a hundred times a day, it checks for updates a hundred times also. This is bad for users.
What I want to do is add a feature that only checks for updates once a day (when the app is run). Is this possible? Can I save the state of the application on the device?
I tried using QSettings, but it only works on the Simulator, when I run the app on the device, it doesn't save anything. :C
Can anyone suggest a better solution for this? thanks in advance.
Before I posted this thread, I searched the forums for a solution. But I couldn't find what I'm looking for.
I wanted to add a feature on our app, that checks application updates on a once-a-day basis. Currently, everytime you run the app, it checks for updates. If you run the app a hundred times a day, it checks for updates a hundred times also. This is bad for users.
What I want to do is add a feature that only checks for updates once a day (when the app is run). Is this possible? Can I save the state of the application on the device?
I tried using QSettings, but it only works on the Simulator, when I run the app on the device, it doesn't save anything. :C
Can anyone suggest a better solution for this? thanks in advance.