Android Wear Data Batching (Android Performance Patterns Season 2 ep4)

Subscribers:
2,510,000
Published on ● Video Link: https://www.youtube.com/watch?v=U9Cl-c-BXhk



Duration: 5:10
7,493 views
46


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: http://goo.gl/4ZJkY1
Join the G+ Community here: http://goo.gl/g7mxmI
Subscribe to the Google Developers channel here: http://goo.gl/mQyv5L







Tags:
Android wear
apps
app
application
Data
wear
sensors
watches
Android
batch
update
updating
wrist
wearable
hardware
Wayne Piekarski
Colt McAnlis
optimizing
optimize
optomize
optamize
battery
battery life
batteries
batterie
tricks
performance
tutorial
lesson
Google
developers
Android Performance Patterns
GDS
product: android
fullname: Wayne Piekarski
Location: MTV
Team: Scalable Advocacy
Type: DevByte
GDS: Full Production