Android Wear Data Batching (Android Performance Patterns Season 2 ep4)
Writing fast and battery-friendly phone apps is essential for making users happy. But for Android Wear, it is absolutely critical. In this video, Wayne Piekarski shows you some simple tricks to batch up your Android Wear data transfers, helping to make your wearable apps more battery efficient.
Some of the most important ideas are:
- Only requesting network updates when you are certain there might be a change
- Process received data on the phone to minimize content sent to the Android Wear device
- Only send updates to the wearable when things have actually changed
- Combine multiple pieces of data together into single items to minimize protocol overheads
- Put as much code on the phone side as you can, the watch is only used for information presentation and simple user interaction
Watch more Android Performance Patterns here:
Join the G+ Community here:
Subscribe to the Google Developers channel here:
Some of the most important ideas are:
- Only requesting network updates when you are certain there might be a change
- Process received data on the phone to minimize content sent to the Android Wear device
- Only send updates to the wearable when things have actually changed
- Combine multiple pieces of data together into single items to minimize protocol overheads
- Put as much code on the phone side as you can, the watch is only used for information presentation and simple user interaction
Watch more Android Performance Patterns here:
Join the G+ Community here:
Subscribe to the Google Developers channel here:
Rcreviews.lt is not the owner of this text/video/image/photo content, the real source of content is Youtube.com and user declared in this page publication as Youtube.com user,
if you have any question about video removal, what was shared by open community, please contact Youtube.com directly or report bad/not working video links directly to video owner on Youtube.com. Removed video from Youtube.com will also be removed from here.
Watch more videos
-
#DriftMolėtai "Street" drift race finals 2022
Happy drift day! Had a chance to be part of Moletai street drift race Finals! #DriftMolėtai grį... -
#Shorts massive servo wire attack
About 200 packs and 1000 servo leads in free fall For many many many planes to build! #shorts ... -
SnapMaker J1 IDEX 3d printer - double extruder workflow sample dual head print
#shorts Enjoy double extruder workflow satisfaction Music by: Gibran Alcocer - Idea 1 - piano c...

Advertising