android - Does SyncAdapter automatically detect internet connection availability to perform Sync? Or should I manually test it? -


i have syncadapter sync device data backend. whenever sync triggered, didn't want check internet connection in "onperformsync" method. have kind of flag ask syncadapter framework automatically?

thank guys in advance.

"sync manager takes care of other things checking network connectivity before initiating transfers , retrying downloads when connectivity dropped."

for more, checkout video : introducing sync adapters provided udacity course developing android apps


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -