Today's episode of #DevBytes  Efficient Data Transfers: Batching, Bundling, and SyncAdapters, is by +Reto Meier 

Every time you initiate a connection you cause a typical 3G wireless radio to continue drawing power, for upwards of 20 seconds. Episode 4 of the Efficient Data Transfers series of DevBytes looks at how you can use tools like SyncAdapters to batch and bundle data transfers - effectively phase-shifting them - to produce a highly efficient, defragmented network traffic profile.

The underlying philosophy is to reduce the number of transfer sessions by designing for a small number of large downloads -- batching up all our delay tolerant transfers and bundling them together with time sensitive ones.

Further Reading and Sample Code:
http://developer.android.com/training/efficient-downloads/efficient-network-access.html#BatchTransfers
http://developer.android.com/training/sync-adapters/index.html

Episode 4 of 7

YouTube:
DevBytes: Efficient Data Transfers - Batching, Bundling, and SyncAdapters

#AndroidDev  
95
49
Giovanni Laquidara's profile photoDmitry Bruso's profile photoJames Patillo's profile photoJonathan Taliaferro's profile photo
7 comments
 
Reto Meier you are one of my favorite in DevBytes, Keep up the great work.
 
I was always wondering if only apps with accounts could use SyncAdapters or if some kind of mocking would be possible. Thanks +Reto Meier for mentioning this particular detail.
 
Many thanks for this. I'd however love to see the whole account service approach simplified in a future version of Android... 
 
+Udi Cohen Incidentally, I read your blog post (along with the one on Authenticator) before watching this video. Your blog was very helpful in giving some insight into how syncadapters work.
Add a comment...