Saturday 19 October 2013

About Services

A Service is an application component that can perform long-running operations in the background. Service do not required user interface, Each Service has a specific job, and they keep at it if you switch between different Activities, or even if you switch to a different application altogether.

Example of Service: 

When you play music in your Android handset using a playlist, the music player takes care of the job itself, without user intervention. You do not have to change the song every time one song ends. This automation is due to the service component of Android.

Service Life-cycle




No comments:

Post a Comment