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
-
HEE Wing F-01 Ultra Delta Wing 690mm - upgraded Mini AR Wing? Diatone Reaper 690
Heee Wiiiinggggg - an 690mm triangle wing, with big battery bay, and up to 220 km/h speeds! Easy... -
Enduro Rally 2021 - Pabradė military base
Had a wonderful opportunity to be in a very dirty place on a badly rainy morning but with great a... -
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