What are the Core Building Blocks of Android?

The core building blocks of Android are:

The core building blocks of Android are:

  1. Activities: An activity represents a single screen with a user interface. It is the basic unit of interaction in an Android application.
  2. Services: A service is a component that runs in the background to perform long-running operations or to perform work for remote processes.
  3. Broadcast Receivers: Broadcast receivers respond to broadcast messages from other applications or from the system. They allow the application to respond to events even when it’s not running.
  4. Content Providers: Content providers manage access to a structured set of data. They are used to share data between different applications.

These building blocks work together to create a cohesive Android application. Activities provide the user interface, services handle background tasks, broadcast receivers enable communication between components, and content providers manage data access.

  • Activity
  • View
  • Intent
  • Service
  • Content Provider
  • Fragment etc.