Application Application Components

In this tutorial we will learn basic Application Application Components. Every android app have some basic components and we mention all these components in Android Manifest file. In Manifest file we write info about hardware, all components of app, permission our app need etc. In next tutorial we will learn about Android Manifest file in detail. Here we will learn all the basic android components.

Application Application Components android training for free

List of Basic Android Components :

  • Activities
  • Services
  • Content Providers
  • Intents
  • Broadcast Receivers
  • Widgets
  • Notifications

Activities: We can describe an Activity as a single screen of your application. For example a screen where you have UI for user login in app you can call its your login Activity. Your app can have number of Activities according to requirement. We can set layout in Activiy using Views or Fragments(We will learn these topics in detail in upcoming tutorials). Remind it all the Activities have Activity class as parent class.

Services: We can create services for those works in app for which we don't need UI(User Interface). Which task we want to perform on the background. Alarm Clock is one of the best example in which you can use service. Because after we set alarm in app it automatically triggers Notification on perfect time even in case of inactive app. Because service check for time to ring alarm and trigger Notification on background. All our services will use Service class as parent class.

Content Providers: Main purpose of content providers in to share data with other applications. All our content provide class will is ContentProvider as parent class.

Intents: Intents are use to pass message throughout Android. We can use these intents to start or stop an Activity or service. This activity or service may be from our app or may be from other app.

Broadcast Receivers: When we pass an Intent to activity or service the broadcast receivers work as receiver to those Intents.

Widgets: Widget is UI of application which you can set on Home screen of Device. User can interact from that UI with your app. For example you can set music player widget on your home screen from where you can control music player or we normally use google search widget on home screen to search things on Internet.

Notification: The main perform of Notification is to Notify user about something. For example whenever you get new message your device show you have got new message. Notifications are use to take attention of user to your applications.

Note! If you are feeling these topics are really hard to understand. Don't worry we will discuss these topics in detail in upcoming tutorials.

Share this tutorial with your friends on your social Media..

Application Application Components Application Application Components Application Application Components Application Application Components

Now You Can Follow All These Tutorials on Your Android Mobile Just Download This App.