Android SyncAdapter not firing automatically -
Android SyncAdapter not firing automatically -
i'm next syncadapter tutorial @ https://developer.android.com/training/sync-adapters/index.html. i've got of stub classes in place, , it's wired up. syncadapter 1 tutorial, nil log message. next work:-
the business relationship visible in settings/accounts disabling/enabling sync in settings causes sync choosing "sync now" causes sync callingmresolver.requestsync(maccount, authority, settingsbundle);
causes sync however, that's far goes. i'm expecting network events, (eg wifi becoming available) trigger sync, isn't.
have misunderstood mresolver.setsyncautomatically(maccount,authority,true);
does, or there else preventing automatic syncing?
android android-networking android-syncadapter
Comments
Post a Comment