I have a sync adapter that works fine. It does not need internet connection because it needs to sync the addressbook with another local storage (my application). When the Wi
Add the extra SYNC_EXTRAS_MANUAL before calling requestSync(account,authority, extras);
SYNC_EXTRAS_MANUAL
requestSync(account,authority, extras);
extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); ContentResolver.requestSync(account,authority, extras);