Android : Android Sync Adapter Intervals

on Saturday, August 9, 2014


I require a data sync once per day for an Android application. I've been using Sync Adapter which has been very useful. I want to sync the data only once per day (at no specific time). I'm using the addPeriodicSync() method.


My problem is that users are only likely to enter an area with internet access for very short periods at different times of the day (sometimes not in internet access areas for days at a time). I have the sync interval at 1 day, will the sync process be run as soon as the internet becomes available? or will it only attempt to sync when the period sync timer is triggered?


Additionally, are there any options to enable/disable 3G/Mobile internet syncs?


0 comments:

Post a Comment