Android

Android - Application Components

Android - Application Components

Application components are very important for the development of Android applications. There are four main components described below:

  • Activities: As the name suggests, an activity is an event or action that is performed on the screen. For example, the message application will have an activity on opening the application to show new messages if received any. 
  • Broadcast Receivers: Broadcast receivers are responsible for handling all the communication between the operating system and applications. For example, you downloaded an application on your android system and that is added to system applications in the settings. This way Android OS communicates with the applications and makes changes based on that communication. 
  • Services: This component is a background running process responsible for performing operations. For example, some components of an android application keep running in the background to fetch the latest information. 
  • Content Providers: As the name suggests Content providers which means it provides data from one application to another application whenever requested. These requests are handled by a method called ContentResolver. 

Top course recommendations for you

    Monitoring in Docker
    2 hrs
    Intermediate
    3.4K+ Learners
    4.37  (71)
    Docker Projects
    2 hrs
    Intermediate
    5.1K+ Learners
    4.66  (134)
    Competitive Programming Course
    2 hrs
    Beginner
    10.2K+ Learners
    4.15  (74)
    Android Studio Tutorial
    1 hrs
    Beginner
    15.2K+ Learners
    4.44  (986)
    Web Scraping with Python
    1 hrs
    Beginner
    16.3K+ Learners
    4.44  (1029)
    Visual Graphics in C
    2 hrs
    Intermediate
    16.8K+ Learners
    4.49  (841)
    Swift Tutorial
    2 hrs
    Beginner
    3.9K+ Learners
    4.49  (195)
    Systematic Inventive Thinking Innovations
    1 hrs
    Beginner
    2.5K+ Learners
    4.51  (152)
    React JS Tutorial
    2 hrs
    Beginner
    67.9K+ Learners
    4.5  (5085)