Android Fundamentals #10: Working from the background

Event Information

Share this event

Date and Time

Location

Location

SPACE

vulica Kastryčnickaja 16/4

Minsk

Belarus

View Map

Event description

Description


Every Android app has a main thread which is in charge of handling UI (including measuring and drawing views), coordinating user interactions, and receiving lifecycle events. If there is too much work happening on this thread, the app appears to hang or slow down, leading to an undesirable user experience. Any long-running computations and operations such as decoding a bitmap, accessing the disk, or performing network requests should be done on a separate background thread. In general, anything that takes more than a few milliseconds should be delegated to a background thread.


Together with you, we will find out all the answers to these topics.


Plan for the lecture:

  1. Services - deep dive

    1. What is?

    2. Service lifecycles

    3. StartService() vs bindService()

    4. Binding a Service

    5. Foreground service

      1. Process priority

  2. IntentService

    1. IntentService vs Service

    2. IntentService is a work queue

  3. Scheduling operations

    1. Doze mode

    2. AlarmManager

      1. PendingIntent

    3. WorkManager

  4. Background limitations since Android Oreo

    1. Wake lock

    2. Sticky


BTW, we create a telegram chat for the discussions!

See you soon!

Android Academy team.

Great thanks to our partners below!




Info partner

Date and Time

Location

SPACE

vulica Kastryčnickaja 16/4

Minsk

Belarus

View Map

Save This Event

Event Saved