Sign in Go Pro

Bootstrap our App using Android Studio

Adding a New IntentService

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson

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. - [Using Services](https://developer.android.com/guide/components/services.html) - [IntentService API](https://developer.android.com/reference/android/app/IntentService.html)

Lessons in Bootstrap our App using Android Studio