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.
Activities | Describes the UI and handles user interaction with the machine screen. |
Services | Handles background operations associated with the application. |
Broadcast Receivers | Handles communication between the Android operating system and applications. |
Content Providers | Handle data and database management issues. |