Background Optimizations (Android Development Patterns S3 Ep 14)

Subscribers:
1,350,000
Published on ● Video Link: https://www.youtube.com/watch?v=vBjTXKpaFj8



Duration: 3:37
85,854 views
663


For documentation on all background optimizations, (including those after API 24) check out - https://goo.gle/2SO7gSf

Check out the newer WorkManager library, which is built on top of JobScheduler - https://goo.gle/2SLTK1A

----------------------------------------------------------------------

Android 7.0 Nougat contains a number of optimizations around background processing, intending to limit the amount of memory thrashing caused when many apps listen for the same implicit broadcast via manifest registered receivers, leading to poor overall system performance when the device is switching networks or when a picture or video was just captured.

When targeting API 24, you’ll no longer receive CONNECTIVITY_CHANGE broadcasts to manifest registered receivers (although runtime receivers will continue to work as your process is already in memory) - consider using JobScheduler to listen for network change events.

For all apps, regardless of whether they target API 24 or not, you’ll no longer be able to send or receive NEW_PICTURE or NEW_VIDEO broadcasts, usually sent immediately after taking a new picture or new video, respectively. Instead, use JobScheduler’s new ability to trigger based on content URI changes to kick off your job.

Read the documentation for all the details: https://goo.gl/37QRQz

#AndroidN #BuildBetterApps #adp #bgoptimizations #jobscheduler #battery #background




Other Videos By Android Developers


2016-12-07Playtime 2016 - Two keys to growth: user acquisition & app engagement, by Cartoon Network
2016-11-29Android Developer Story: Le Monde increases subscriptions with Google Play Billing
2016-11-22Image & GIF Keyboards and Text Editors on Android
2016-11-08What's New in Android 7.1
2016-11-02Android Studio: the official IDE for Android
2016-10-14Android Developer Story: BabyBus expands into international markets on Google Play
2016-10-14Android Developer Story: Erudite improves language learning experiences on Google Play
2016-10-1310 tips to help you stay on the right side of Google Play policy
2016-10-12Sprayscape - a perfectly imperfect VR-ish camera
2016-10-12Android Developer Story: PicMix reaches global audience on Google Play
2016-10-06Background Optimizations (Android Development Patterns S3 Ep 14)
2016-10-05Android Developer Story: Elex Wireless builds successful games with ratings & reviews on Google Play
2016-10-05Android Developer Story: Papumba grows revenue by localising its family titles on Google Play
2016-09-29Quick Settings Tiles (Android Development Patterns S3 Ep 13)
2016-09-20VectorDrawable for smaller APKs (Android Performance Patterns Season 6 Ep. 6)
2016-09-19What's New in Android Studio 2.2
2016-09-15Virtual Files in the Storage Access Framework (Android Development Patterns S3 Ep 11)
2016-09-13Smaller APKs : A checklist (Android Performance Patterns Season 6 Ep. 5)
2016-09-08Storage Access Framework: Building a DocumentsProvider (Android Development Patterns S3 Ep 10)
2016-08-31Google Play Family Section Developer Success
2016-08-31Android Developer Story: Hutch improves player engagement with beta testing



Tags:
Android
Background optimizations
CONNECTIVITY_CHANGE
NEW_PICTURE
NEW_VIDEO
#AndroidNougat
#AndroidN #BuildBetterApps
#android
#androiddev
android
google
developer
developers
app
BuildBetterApps
androiddev
lectures
tutorial
how to
lesson
development patterns
application
product: android
fullname: Joanna Smith
Location: MTV
Team: Scalable Advocacy
Type: DevByte
GDS: Full Production