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.3K+ Learners
    4.37  (60)
    Docker Projects
    2 hrs
    Intermediate
    5K+ Learners
    4.66  (117)
    Competitive Programming Course
    2 hrs
    Beginner
    10.1K+ Learners
    4.14  (73)
    Android Studio Tutorial
    1 hrs
    Beginner
    15.1K+ Learners
    4.42  (940)
    Web Scraping with Python
    1 hrs
    Beginner
    16.1K+ Learners
    4.45  (994)
    Visual Graphics in C
    2 hrs
    Intermediate
    16.7K+ Learners
    4.49  (819)
    Swift Tutorial
    2 hrs
    Beginner
    3.9K+ Learners
    4.5  (185)
    Systematic Inventive Thinking Innovations
    1 hrs
    Beginner
    2.5K+ Learners
    4.49  (140)
    React JS Tutorial
    2 hrs
    Beginner
    67.2K+ Learners
    4.5  (4865)