I have an app that requires periodically checking the date and time server to make sure the date and time are correct. But at the same time, I do not want the user to manually change the date/time in their device settings. I think the best way I could do this is check and see if the "Automatic...
www.b4x.com
Is there a way to "toggle" the auto sync setting?
By doing so, it will force the system to get a sync'd time - otherwise one must wait until it (system / device) decides to sync (possibly 10 days from now).
I guess the only work around is to ask the user to toggle the auto sync when the clock is not correct ( a user judgement call ).
I also require (force) the user restart the device every three days - this will auto sync.