• Save
Application component
Upcoming SlideShare
Loading in...5
×
 

Application component

on

  • 383 views

it is just basic components of android .

it is just basic components of android .

Statistics

Views

Total Views
383
Views on SlideShare
383
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Application component Application component Presentation Transcript

  • INTRODUCTION TO APPLICATION COMPONENT OF ANDROID
  • APPLICATION COMPONENT OF ANDROID
    ANDROID IS THE OPERATING SYSTEM OF MOBILE AND IT IS BASED ON SOME OF THE IMPORTANT CONCEPT KNOWN AS BASIC APPLUICATION COMPONENT OF ANDROID.
    EACH COMPONENET IS ACT AS AN ENTRY POINT IN APPLICATION FOR THE BUILDING BLOCKS.
    THERE ARE FOUR APPLICATION COMPONENTS OF ANDROID ACCORDING TO WHICH ANDROID WORKS AND BUILDING BLOCKS ARE AS FOLLOWS
    1.ACTIVITIES.
    2.SERVICES.
    3.CONTENT PROVIDER .
    4.BROADCAST RECIVER.
  • ACTIVITY
    ACTIVITY IS NOTHING BUT AN USER INTERFACE REQUIRED TO USER FOR INTERACTION WITH AN APPLICATION.
    IN SIMPLE TERM IT PROVIDES A SCREEN TO USER FOR APPLICATION. TO DO OR TO PERFORM A PARTICULAR ACTIVITY EX.SUCH AS DOING EMAILS AND TAKING PHOTOS ,THERE ARE LOT OF OTHER EXAMPLES FOR IT .
    FLOW OF THE ACTIVITY DIAGRAM IS GIVEN IN NEXT SLIDE IT SHIWS ALL THE FLOW OF ACTIVITY HAPPENING OR ACTING .
    IT START WITH ONCREATE METHOD AND ENDS ON ONDESTROY METHOD.
  • SERVICES
    SERVICE IS NOTHING BUT AN COMPONENT RUNS IN BACKGROUND WHEN ANY OTHER ACTIVITY IS GOING ON .
    EX: USER CAN PLAY MUSIC IN BACKGROUND WHILE DOING SOME OTHER WORK .
    ANOTHER COMPONENT, SUCH AS AN ACTIVITY, CAN START THE SERVICE AND LET IT RUN OR BIND TO IT IN ORDER TO INTERACT WITH IT.
    IT IS ONE OF THE IMPORTANT FUNCTION FOR MULTITASKING IN ANDROID .
  • CONTENT PROVIDER
    Content provider stores data and retrieve it and make it accessible to all the application.
    There is no common area for storage purpose of android packages.
    Android ships with a number of content providers for common data types such as audio, video, images, personal contact information etc.
    If you want to make your own data public, you have two options: You can create your own content provider or you can add the data to an existing provider — if there's one that controls the same type of data and you have permission to write to it.
  • Broadcast Receiver
    A broadcast receiver is a component that responds to system-wide broadcast announcements.
    Although broadcast receiver do not take part in user display but they may create a status bar notification to alert the user when broadcast event is occurs.
  • This are just glimpsing of android there is more yet to come .
    Thank you