Packt Publishing
В любой момент
3 часа
Стоимость курса
84,99 USD
Подробности и регистрация

Hands-on background services in android

Навыки, которые вы получите:
Android Mobile-разработка Background services

This course helps developers who want to build applications working in the background, by exposing you to using Android Background Service capabilities effectively. Services come out as the best option with backward app compatibility.

You will learn a variety of topics like starting and stopping your service, interacting with the background service and creating and sending a work request, exploring the lifecycle of your service along with understanding the security issues in using it. You will learn to use IntentService, which utilizes a worker or background thread to execute tasks. You will explore what’s new in the Background Service in Android Oreo and check out its limitations, and then overcome those limitations. You will then learn best practices and how to deal with problems and issues that might arise.

By the end of the course, you will have a strong foundation in background services in Android and will be able to build the function you need to ensure you won’t drain the battery excessively, compromise the user’s security, consume too much data, or hamper the device’s performance.

The Program

  1. Exploring background service in practical apps.
  2. Creating a background service.
  3. Working with intentService that uses worker thread.
  4. Interacting with background service.
  5. Exploring the lifecycle service.
  6. Background service limitations and work around.
  7. Troubleshooting background service.

What will you learn 

  • Delve into using Android background Service capabilities effectively.
  • Get acquainted with the Main UI Thread, Worker or Background Thread, and Process, and understand how they are related to Services and their role in supporting Background Services.
  • Perform longrunning tasks using background services.
  • Use IntentService to execute tasks in your application.
  • Pass data to a service and get back results from it.
  • Master restrictions in using background services in Android Oreo along with workarounds such as using JobIntentService.
  • Explore the lifecycle of your Service.
  • Deal with common problems and issues that might arise when using the services in your live projects.
Нам нужен ваш фидбек!
Честный и беспристрастный