Android is an open source, Linux-based mobile device operating system, mainly used in mobile devices, such as smartphones and tablets. Android is developed by the Open Handset Alliance, led by Google and other companies.

Android application components syntax

Application components are the basic building blocks of an Android application. These components are organized loosely coupled by the application manifest file. AndroidManifest.xml describes each component of the application and how they interact.

Android application components example

The following are the four main components that can be used in Android applications.

ActivitiesDescribes the UI and handles user interaction with the machine screen.
ServicesHandles background operations associated with the application.
Broadcast ReceiversHandles communication between the Android operating system and applications.
Content ProvidersHandle data and database management issues.