May be this question is asked about 2-4 year ago.Still m not satisfied.My problem is: "how to turn on/off auto Sync Programmatically".I dont want any specific data to synchronous.Just want to know Is that possible to enable or disable Auto-sync programmatically ? If possible, then How? Can anyone give me Example?
which is shown like this on Android Screen:
What is the use of ContentResolver.setSyncAutomatically(account, authority, true);
in auto-sync?
Thanks in Advance.