I am looking for a way to enable/disable the \"auto-sync\" checkbox in the \"general sync settings\".
Afair the stock power control widget has this feature too. If
ContentResolver.setMasterSyncAutomatically(true); // enables AutoSync
You should also add this
to your AndroidManifest.xml file.