Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Guide to background processingを読んでみる / Reading "Guide to background processing"

Guide to background processingを読んでみる / Reading "Guide to background processing"

2019/7/23に開催されたCookpad.apk #3で飛び入りで発表したLTの資料です

Yoshihiro WADA

July 23, 2019
Tweet

More Decks by Yoshihiro WADA

Other Decks in Programming

Transcript

  1. Guide to background processing
    Yoshihiro Wada a.k.a. @e10dokup
    Cookpad.apk #3

    View full-size slide

  2. Yoshihiro Wada a.k.a. @e10dokup
    CyberAgant Inc.
    Ameba
    Instagram -> @y_wada_dokup

    View full-size slide

  3. Android 6.0 - Doze App Standby
    Doze -
    App Standby -
    Android 7.0 - Broadcast Doze on the go
    Broadcast - CONNECTIVITY_ACTION
    Doze on the go - Doze
    1/3

    View full-size slide

  4. Android 8.0 -
    wakelock
    Background Service
    Broadcast
    2/3

    View full-size slide

  5. Android 9.0 - App Standby Buckets
    App Standby Buckets - CPU
    https://developer.android.com/preview Versions
    OS
    3/3

    View full-size slide

  6. OS
    WorkManager WorkManager
    Android Developers Guide to background processing
    https://developer.android.com/guide/background

    View full-size slide

  7. Deferrable
    System Conditions
    3

    View full-size slide

  8. Deferrable
    System Conditions
    Constraints
    WorkManager

    View full-size slide

  9. dismiss
    Foreground Service

    View full-size slide

  10. WorkManager
    1 1
    ほ 15
    PeriodicWorkRequest
    AlarmManager

    View full-size slide

  11. HTTP
    Retro t
    URI
    DownloadManager

    View full-size slide

  12. WorkManager
    Android Developers

    View full-size slide

  13. FirebaseJobDispatcher

    View full-size slide

  14. FirebaseJobDispatcher

    View full-size slide

  15. DEPRECATED
    2020/4/7

    View full-size slide