Home > DeveloperSection > Interviews > What is service in android?

Posted on    March-23-2015 2:43 AM

 Android Android 
Ratings:
 1 Answer(s)
  391  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Points:4035
Posted on    March-23-2015 2:53 AM

Android service is a component that is used to perform operations on the background such as playing music, handle network transactions, interacting content providers etc. It doesn't has any UI (user interface).

The service runs in the background indefinitely even if application is destroyed.

Moreover, service can be bounded by a component to perform interactivity and inter process communication (IPC).

The android.app.Service is subclass of ContextWrapper class.

Don't want to miss updates? Please click the below button!

Follow MindStick