Your SlideShare is downloading. ×
Application component
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Application component

261
views

Published on

it is just basic components of android .

it is just basic components of android .

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
261
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. INTRODUCTION TO APPLICATION COMPONENT OF ANDROID
  • 2. 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.
  • 3. 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.
  • 4.
  • 5. 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 .
  • 6. 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.
  • 7. 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.
  • 8. This are just glimpsing of android there is more yet to come .
    Thank you