Google News
logo
Android - Interview Questions
What is meant by Services?
Service is an Android component that runs in the background and acts independently. It does not provide any user interface.
 
Though the services are running behind the scene, a user can continue their work on different apps. Most of the time, the users are not aware of the services which are running in the background. These services allow the system to kill the process without interrupting the user’s ongoing work.
 
A service is implemented as a subclass of Service class :
 
Public class MainService extends Service
{

}

 

Advertisement