Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore techniques for building battery-efficient Android apps in this 46-minute conference talk from Big Android BBQ 2015. Delve into the workings of cellular networks and their impact on app development. Learn to avoid common pitfalls when accessing networks, and master strategies like pre-fetching, batching, and content segmentation. Discover socket management and persistent connection techniques through code-heavy examples. Gain insights on periodic traffic, multiple connections, cache expiration, and connection management. Examine advanced techniques including transaction types, Job Scheduler, Sync Adapters, and GCM Network Manager. Understand when to prefetch data, optimize background updates, and test for battery efficiency using tools like the application resource optimizer.
Syllabus
Intro
Raise your hand
Whats the big story
How cell networks work
Radio State Machine
Three States
Frequency Allocation
What does it mean to us
Periodic traffic
Multiple connections
Cache expired
Connection management
Advanced techniques
Types of transactions
Batching
Job Scheduler
Sync Adapters
GCM Network Manager
Prefetching
Prefetching data
When to prefetch
Background updates
payload size
application resource optimizer
testing
QA
Taught by
Android Developers