What Is Android and Its Components?
Contents an Android Component Is Simply a Piece of Code That Has a Well Defined Life Cycle E. G. Activity, Receiver, Service Etc. the Core Building Blocks or...
Contents
An android component is simply a piece of code that has a well defined life cycle e.g. Activity, Receiver, Service etc. The core building blocks or fundamental components of android are activities, views, intents, services, content providers, fragments and AndroidManifest.
What are the Android components?
Basic Components
| Components | Description |
|---|---|
| Activities | They dictate the UI and handle the user interaction to the smart phone screen |
| Services | They handle background processing associated with an application. |
| Broadcast Receivers | They handle communication between Android OS and applications. |
What are 2 types of services in Android?
Types of Android Services
- Foreground Services: Services that notify the user about its ongoing operations are termed as Foreground Services. …
- Background Services: Background services do not require any user intervention. …
- Bound Services: