Foreground Service in Android

Photo by Jonas Leupe on Unsplash

Introduction

A service is once of the android components that executes the long running background tasks. Services are very crucial to the applications like music player, fitness tracking, etc as they need to run in the background continuously to delivery expected behavior.

Type of services