You can turn on/off mobile data usage, using mobileDataEnabled(get; set;) but that's probably not what you're looking for.
Actually, on second thought, you could write a native Android app that would receive a custom intent and toggle the sync setting, and then call that from on{x} using launch(String appName, Object params, Object callback). See the applications section of the on{x} docs for more on this.
According to the on{x} documentation, no.
You can turn on/off mobile data usage, using
mobileDataEnabled(get; set;)
but that's probably not what you're looking for.Actually, on second thought, you could write a native Android app that would receive a custom intent and toggle the sync setting, and then call that from on{x} using
launch(String appName, Object params, Object callback)
. See the applications section of the on{x} docs for more on this....and general sync settings "auto-sync" checkbox programtically may help you with making such a native app.