Service

Android.App.Service

PDF for offline use

Let us know how you feel about this

Translation Quality


0/250

A service in Android represents a process who's lifecycle is not necessarily tied to the lifecycle of an activity and has no UI. As such, it's used to perform background tasks even when an application is not in the foreground. For example, if you were creating a music player application, you would want to create a service that runs in the background and manages the playing of audio, as well as a song queue, etc.

Service Basics

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.