Basic Components of Android and other Additional Android Components
The components of an Android are as follows:
- Broadcast Receivers
- Content Providers
- Additional components (Fragment, Intent, Widgets)
An Android activity is a screen function that appears while using an Application. It is actually called the screen in Android development terminology, which means whatever the screen shows while running an app at a time. There can be several screens for few applications.
For instance, if you go to your inbox, the several texts it shows and the functionality it performs with each icon is an activity. Now if you tap the create message option, a new screen appears of a blank page in which you can type text. Now it’s another activity of same app. Every screen (also known as Activity) has its several unique user interface functions. Check out: Android history
See Also : Android Features and its Versions
While using our Android phones, numerous applications are consistently working in the background most of the time. This background working of the applications while we are involving with some other activity, is called services. The services are actually component of Android application that run programs and the processes in the background without interrupting screen you are working on.
For example, if you are on a call with your friend and he wants some information that you have in your draft, you will keep the call going and go to your drafts to fetch the data. Just then the call you are on is now functioning in the background when your activity changes, as you are now in your drafts.
Check out Latest : Android Tips and Tricks
3. Broadcast Receivers
Another component of Android is the Broadcast receivers. Broadcast receivers are actually creating nexus between Android Operating System and other apps, while working on that Operating System. Broadcast receivers are responsible for letting other applications know that if a significant setting changes or any data change has been made. If new data has fed to the device all other applications running on the Android OS will be made aware that a new data has been in there access now which they can use for any of the purpose they want to.
4. Content Provider
Content provider is one of the four main components of Android. It is responsible for management of the data and organizing, arranging and sequencing data. Whenever an Android application requests for data present in your smart phone the content provider will decide what data to transact.
See Also : Android architecture or Android stack
Additional components of Android:
Fragment is a kind of sub activity that works to run other modular activity design. The fragment has its own specific layout.
Intent is that component of an Android app that make you jump from one activity to another activity by pressing a button appearing on the screen.
Easy Overview of Android Components