How to create Simple Services in Android Part – 1

In this video we see the introduction of Android Service, what are background services in android? A service is a component that runs in the background to perform long-running operations without any interaction with the user. Service is used for data processing, indexing content, checking for new data, etc. – There are three types of services -1) Scheduled 2) Started 3) Bounded -What is lifecycle of service in android? The method of the Android service lifecycle. 1.onStartCommand() 2.onBind() 3.onUnbind() 4.onRebind() 5.onCreate() 6.onDestroy()


Leave a Reply

Your email address will not be published. Required fields are marked *