Android Components - Types of Android Components

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

Android Components have four types:

1. Android Activities 

2. Android Services 

3. Content Providers

4. Broadcast receivers


Components

Description

Activity

They dictate the UI and handle the user interaction to the smart phone screen.

Services

They handle background processing associated with an application.

Broadcast Receiver

They handle communication between Android OS and applications.

Content Provider

They handle data and database management issues.

Source: LearnVern.Com


Comments

Popular posts from this blog

Android Architecture Components - Android Activities

Layout in Android - Types of Android Layouts in App Development

Android XML Layout - Create XML layouts for Android