Sign in Go Pro

Bootstrap our App using Android Studio

Adding a New IntentService

 
Autoplay

Previous

About

This lesson will show how to add a new IntentService to an existing project using the existing code templates built into Android Studio.

An IntentService is used to handle requests in the background. Clients send asynchronous requests a Service, which are handled, on a single worker thread in the background. This can take as long as needed (and will not block the main UI). Only one request will be processed at a time.

This lesson will show:
* How to create boilerplate code for an IntentService
* Which code was added automatically
* Show where to add custom background functionality
* How to call the Intent service

Services can continue to run, even when the Activity or Application has stopped running - make sure to review the documentation when using them.

Comments

I don't know if we still need this [edited by admin] after discovering RxJava

>
You need to go PRO to post comments.

Lessons in Bootstrap our App using Android Studio