What is activity and service in Android?

An Activity and Service are the basic building blocks for an Android app . Usually, the Activity handles the User Interface (UI) and interactions with the user, while the service handles the tasks based on the user input.

Leave a Reply

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

What is activity and service in Android?

An Activity and Service are the basic building blocks for an Android app . Usually, the Activity handles the User Interface (UI) and interactions with the user, while the service handles the tasks based on the user input.

Leave a Reply

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