Android Background Processing [SUBSCRIBER]

栏目: IT技术 · 发布时间: 5年前

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.

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.

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

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

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

Conclusion

1:17

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

Use WorkManager In Complex Apps

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

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

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

Chain Work

10:37

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

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

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

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

Conclusion

1:42

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

Use Android Services

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

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

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

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

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

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

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

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.

Implement Legacy Background Processing

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

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

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

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

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!

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

以上所述就是小编给大家介绍的《Android Background Processing [SUBSCRIBER]》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

程序员代码面试指南:IT名企算法与数据结构题目最优解(第2版)

程序员代码面试指南:IT名企算法与数据结构题目最优解(第2版)

左程云 / 电子工业出版社 / 109.00元

《程序员代码面试指南:IT名企算法与数据结构题目最优解(第2版)》是一本程序员代码面试"神书”!书中对IT名企代码面试各类题目的最优解进行了总结,并提供了相关代码实现。针对当前程序员面试缺乏权威题目汇总这一痛点,本书选取将近300道真实出现过的经典代码面试题,帮助广大程序员的面试准备做到接近万无一失。"刷”完本书后,你就是"题王”!《程序员代码面试指南:IT名企算法与数据结构题目最优解(第2版)》......一起来看看 《程序员代码面试指南:IT名企算法与数据结构题目最优解(第2版)》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试