O'Reilly logo

Xamarin Studio for Android Programming: A C# Cookbook by Mathieu Nayrolles

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Using Android Services

Android services are important components of the Android ecosystem. They enable work to be done in the background regardless of the user activity. In this chapter, you will learn when Android services are best suited to situations, and how to use them in your application. More specifically, we will pass through the following recipes:

  • Implementing a started service
  • Implementing a bound service
  • Sending notifications from your service
  • Creating a news feed service

Introduction

Android services are some of the building blocks available in Android, and they allow tasks to be performed in the background. In addition, they follow their own lifecycle, completely disconnected from the application lifecycle seen in Chapter 2

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required