What is service in android?

Asked 14-Apr-2022
Viewed 504 times

1 Answer


0

  • In Android, services are a specific component that allows an app to run in the background and do long-running operations activities. The primary goal of a service is to keep an application running in the background so that the user can utilise many programmes at the same time.
  • For android services, a user interface is not ideal because it is designed to conduct long-running activities without user participation. Even if the application is closed or the user goes to another application, a service can continue to function in the background.
  • Furthermore, application components can bind themselves to services in order to communicate with other processes (IPC).


Read More: Explain the use of 'bundle' in android?