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
    2.9K+ Learners
    4.08  (36)
    Docker Projects
    2 hrs
    Intermediate
    4.3K+ Learners
    4.69  (86)
    Competitive Programming Course
    2 hrs
    Beginner
    8.6K+ Learners
    4.08  (64)
    Android Studio Tutorial
    1 hrs
    Beginner
    13.1K+ Learners
    4.47  (637)
    Web Scraping with Python
    1 hrs
    Beginner
    13.8K+ Learners
    4.45  (746)
    Python for Non-Programmers
    1 hrs
    Beginner
    43.5K+ Learners
    4.5  (1841)
    Visual Graphics in C
    2 hrs
    Intermediate
    13.9K+ Learners
    4.52  (406)
    Swift Tutorial
    2 hrs
    Beginner
    3.4K+ Learners
    4.43  (140)
    Systematic Inventive Thinking Innovations
    1 hrs
    Beginner
    2.1K+ Learners
    4.57  (101)
    React JS Tutorial
    2 hrs
    Beginner
    53.1K+ Learners
    4.51  (2850)