what is services in android
A service is a component that runs in the background to perform long-running operations without needing to interact with the user and it works even if application is destroyed
There are four different types of Android services:
- Bound Service – A bound service is a service that has some other component (typically an Activity) bound to it. …
- IntentService – An IntentService is a specialized subclass of the Service class that simplifies service creation and usage.