Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 1.45 KB

1.3 -- Android Application Architecture.md

File metadata and controls

17 lines (14 loc) · 1.45 KB

Android Application Components

  1. Activities :-: Activities are responsible for Drawable UI. Activities are the elements though which user interact with Application.
    Different Calls in Activities :-: onCreate() -- This is the first callback and called when the activity is first created. :-: onStart() -- This callback is called when the activity becomes visible to the user. :-: onResume() -- This is called when the user starts interacting with the application. :-: onPause() -- The paused activity does not receive user input and cannot execute any code and called when the current activity is being paused and the previous activity is being resumed. :-: onStop() -- This callback is called when the activity is no longer visible. :-: onDestroy() -- This callback is called before the activity is destroyed by the system. :-: onRestart() -- This callback is called when the activity restarts after stopping it.

  2. Services :-: All the Background Application Process Running on an Android Device is Known as Services. Ex.: Playing Music, Downloading Files, Synchronization, Uploading Data, etc.

  3. Broadcast Receiver :-: Broadcast Receivers are used to Broadcast Intents and Messages in Android Device for/from other Applications and System.

  4. Content Provider :-: Content Provider is Used to Share Data Among Applications and System from Proper functionality and Secure Data Storage.