Fundamental Building Blocks of an Android Application

Application components are the essential building blocks of an android application.

They are of four types:

1)          Activities

2)          Services

3)          Content Providers

4)          Broadcast Receivers


An activity is a component of an application which provides UI.It represents a screen with a UI.An application may contains a number of activities bound to eachother.Still, each activity is an independent entity.


A service doesn’t provide UI, user can’t see it .It is an application component that works in the background.

Content Providers:

It handles a specific set of application data. Application data can be queried or even modified by other applications through Content Providers if it permits. Also, any application, with proper permission, can query part of the content provider even.

Broadcast Receivers:

They are the building block that receive and react to broadcast announcements.

Example for a broadcast announcement from system: announcing the battery is low.

Note: All components except the Content Providers can be activated through Intents. That means Intents can be used for the communication between the aforesaid components.


, , , , , , , , , , ,

  1. #1 by Berry Engelberg on March 10, 2012 - 4:17 pm

    Hi there, just became alert to your blog through Google, and found that it is truly informative. I am going to watch out for brussels. I’ll appreciate if you continue this in future. A lot of people will be benefited from your writing. Cheers!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: