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.42  (79)
    Docker Projects
    2 hrs
    Intermediate
    5.2K+ Learners
    4.66  (140)
    Competitive Programming Course
    2 hrs
    Beginner
    10.4K+ Learners
    4.15  (75)
    Android Studio Tutorial
    1 hrs
    Beginner
    15.3K+ Learners
    4.44  (1019)
    Web Scraping with Python
    1 hrs
    Beginner
    16.4K+ Learners
    4.44  (1050)
    Visual Graphics in C
    2 hrs
    Intermediate
    17K+ Learners
    4.49  (851)
    Swift Tutorial
    2 hrs
    Beginner
    4K+ Learners
    4.49  (199)
    Systematic Inventive Thinking Innovations
    1 hrs
    Beginner
    2.5K+ Learners
    4.52  (157)
    React JS Tutorial
    2 hrs
    Beginner
    68.9K+ Learners
    4.5  (5211)