This is part of the "Android Data and Networking" learning path. View Path

Android Background Processing

Jul 6 2020 · Video Course (2 hrs, 6 mins) · Beginner

Learn about all the cool concepts from background processing in Android! Use the WorkManager, JobScheduler, Services, AsyncTasks and the AlarmManager.

Learn what each concept brings to the table, and how they affect your app's performance!

Version

  • Kotlin 1.3, Android 10, Android Studio 3.6

Run Background Work

Introduction

1:44 Free

Learn which concepts you'll cover in this course, by exploring what each concept does and how it works in Android.

1

Introduce the projects you'll use in the course, set up your IDE, and repeat the concepts you've learned in previous courses about threading.

2

Use the WorkManager API to implement a simple worker which does some work in the background.

3

Explore the WorkManager API more, by implementing more workers, and adding results to those workers, chaining them together.

4

Implement another worker, to apply a filter to the image, practicing what you've learned to far.

5

Conclusion

1:17

Revise the concepts you've learned so far, and prepare for the next part of the course.

6

Use WorkManager In Complex Apps

Repeat the concepts from the first part of the course, and introduce the new concept you'll learn - DownloadManager.

7

Set up the second course projects. Install Node.js, and run the server, set up the base URL for the Android project.

8

Implement a similar example as in the first part of the course, in a more complex application.

9

Chain Work

10:37

Implement more workers and add more functionality to the project. Chain workers, and their results.

10

Practice using the WorkManager API, to implement another worker and chain and observe the results.

11

Replace the WorkManager usage when downloading images, with the DownloadManager, to display download progress.

12

Practice using the DownloadManager, to add more support for download progress.

13

Conclusion

1:42

Revise all the concepts learned so far, and the use cases you covered using the WorkManager and DownloadManager.

14

Use Android Services

Revise some of the concepts you've learned previously, and introduce a bunch of new concepts revolving around Services.

15

Implement the basic Android Service, to run work in the background, and offload the main thread.

16

Build an IntentService and a JobIntentSerice, to represent one-off work, which you run and forget about.

17

Practice what you've learned about Services, to implement another JobIntentService, and run one-off work.

18

Learn about background restrictions, and foreground Services which display a notification to users.

19

Implement the go-to way for communication between Android components which are used for background processing - BroadcastReceivers.

20

Repeat everything you've learned about Services and BroadcastReceivers, in a fun challenge!

21

Conclusion

1:54

Revise all the concepts you've learned, and all the mechanisms you've implemented, so far in the course, and prepare for the last part.

22

Implement Legacy Background Processing

Repeat everything you've learned so far, and learn about the legacy concepts in background processing, in Android.

23

Implement an AsyncTask, the notorious wholesome API for background processing and returning values from the background.

24

Implement the JobService, powered by the JobScheduler API, to run tasks with constraints, similar to WorkManager's Workers.

25

As the last legacy concept, use the AlarmManager to create a signal to wake up the device and update an existing Activity.

26

Conclusion

2:18

Wrap up the entire course, by revisiting all the concepts once more, and discovering new courses and tutorials to go through next!

27

Who is this for?

Beginner Android developers who want to learn more about different background processing options the Android ecosystem provides, such as Services and the WorkManager.

Covered concepts

  • Threading basics
  • WorkManager
  • DownloadManager
  • AsyncTask
  • JobScheduler
  • AlarmManager
  • Services
  • IntentService
  • JobService
  • JobIntentService
  • Foreground Services
  • BroadcastReceivers

Contributors

Comments