Application components are the essential building blocks of an android application. Each component has its own importance. Some of the components have some interface through which user can access the application and some of them have no User interface but they play an important role while running an application as well as during the development.
There are four different types of application components having distinct purpose among themselves and has a distinct life cycle during they created and destroyed.
Here are four components :
2). SERVICES
3). BROADCAST RECEIVER
4). CONTENT PROVIDER
Building an Android application
Android Build process provides projects and module build setting so that our android application compiled and packed to get .apk. Android build process flow :
Creating an android application includes following steps :
-
Define the resources
-
Implement application classes
-
Package Application
-
Install and Run Application