SlideShare ist ein Scribd-Unternehmen logo
1 von 10
Android
Components
 - Atul Palandurkar
Android Components
There are 4 basic components of an Android
Application :
 Activity
 Service
 Broadcast Receiver
 Content Provider




http://aatul.me                       - Atul Palandurkar
Activity
 An  Activity represents a single screen with UI.
 Activity class takes care of creating a window in
  which UI can be placed with the method
  setContentView(View)
 While activities are often presented as full screen
  windows, they can also be used as floating
  windows or embedded inside another activity.
 The onCreate(Bundle) is where you initialize your
  activity.
 All activity classes must have a corresponding
  <activity> declaration in their package’s
  AndroidManifest.xml

http://aatul.me                           - Atul Palandurkar
Activity
Life Cycle




http://aatul.me   - Atul Palandurkar
Activity Stack
                   Start             Start               Navigate
                 Activity 2        Activity 3             back


   Foreground
     activity
                                                         Activity
                                                            3
    Activity 1            Activity 1        Activity 1                     Activity 1



                          Activity 2        Activity 2                     Activity 2
    Back Stack

                                                         Activity 3
                                            Activity 3
                                                         destroyed




http://aatul.me                                                       - Atul Palandurkar
Service
A   Service is a component that runs in the
  background to perform long-running operations or
  to perform wok for remote processes.
 Each service class must have a corresponding
  <service> declaration in its package’s
  AndroidManifest.xml
 A service does not provide user interface.
 Another component, such as an activity, can start
  the service and let it run or bind to it in order to
  interact with it.



http://aatul.me                          - Atul Palandurkar
startService()
Service                       Starts the service
Life Cycle                  onStartCommand()

                           Starts actual operation

                           Context.bindService()

                        Obtains data from persistent

                                onStop()
                                    OR
                           Context.stopService()

                  Stops the service, ready to get destroyed

                                onDestroy()
http://aatul.me                            - Atul Palandurkar
Broadcast Receiver
 They    listen to broadcast intents.
 They must be registered (either in code or within the
  AndroidManifest.xml).
 Intent Filters must be used to specify which Intents it
  is listening for.
 A broadcast receiver can be registered using
  multiple intent filters.
 The onReceive() method be overridden to perform
  any operations.




http://aatul.me                            - Atul Palandurkar
Content Provider
 Content  providers are one of the primary building
  blocks of Android applications, providing content
  to applications.
 They encapsulate data & provide it to applications
  through a single interface called ContentResolver.
 A content provider is only required if there us a
  need to share data between multiple applications.
 For example, the contacts data is used by multiple
  applications & must be stored in a content
  provider.



http://aatul.me                        - Atul Palandurkar
Thank You
     Atul Palandurkar
          Blog : http://aatul.me
Training : training@shardainfotech.com
  Website : http://shardainfotech.com
       Contact : 091-9766210353

Weitere Àhnliche Inhalte

Was ist angesagt?

SQLITE Android
SQLITE AndroidSQLITE Android
SQLITE AndroidSourabh Sahu
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to androidzeelpatel0504
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android DevelopmentAly Abdelkareem
 
Android resources
Android resourcesAndroid resources
Android resourcesma-polimi
 
Android architecture
Android architectureAndroid architecture
Android architectureSaurabh Kukreja
 
Presentation on Android application life cycle and saved instancestate
Presentation on Android application life cycle and saved instancestatePresentation on Android application life cycle and saved instancestate
Presentation on Android application life cycle and saved instancestateOsahon Gino Ediagbonya
 
Data Storage In Android
Data Storage In Android Data Storage In Android
Data Storage In Android Aakash Ugale
 
Android ppt
Android pptAndroid ppt
Android pptAnsh Singh
 
Android Programming Basics
Android Programming BasicsAndroid Programming Basics
Android Programming BasicsEueung Mulyana
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development pptsaitej15
 
Introduction to Android and Android Studio
Introduction to Android and Android StudioIntroduction to Android and Android Studio
Introduction to Android and Android StudioSuyash Srijan
 
Android Architecture.pptx
Android Architecture.pptxAndroid Architecture.pptx
Android Architecture.pptxpriya Nithya
 
Android Application Development
Android Application DevelopmentAndroid Application Development
Android Application DevelopmentBenny Skogberg
 
Android activities & views
Android activities & viewsAndroid activities & views
Android activities & viewsma-polimi
 
Android terminologies
Android terminologiesAndroid terminologies
Android terminologiesjerry vasoya
 
Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android Ranjith Kumar
 
Database in Android
Database in AndroidDatabase in Android
Database in AndroidMaryadelMar85
 

Was ist angesagt? (20)

SQLITE Android
SQLITE AndroidSQLITE Android
SQLITE Android
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
 
Versions of android
Versions of androidVersions of android
Versions of android
 
Android resources
Android resourcesAndroid resources
Android resources
 
Android architecture
Android architectureAndroid architecture
Android architecture
 
Presentation on Android application life cycle and saved instancestate
Presentation on Android application life cycle and saved instancestatePresentation on Android application life cycle and saved instancestate
Presentation on Android application life cycle and saved instancestate
 
Data Storage In Android
Data Storage In Android Data Storage In Android
Data Storage In Android
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Android Programming Basics
Android Programming BasicsAndroid Programming Basics
Android Programming Basics
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development ppt
 
Introduction to Android and Android Studio
Introduction to Android and Android StudioIntroduction to Android and Android Studio
Introduction to Android and Android Studio
 
Android UI
Android UIAndroid UI
Android UI
 
Android Architecture.pptx
Android Architecture.pptxAndroid Architecture.pptx
Android Architecture.pptx
 
Android Application Development
Android Application DevelopmentAndroid Application Development
Android Application Development
 
Android activities & views
Android activities & viewsAndroid activities & views
Android activities & views
 
Android terminologies
Android terminologiesAndroid terminologies
Android terminologies
 
Fragment
Fragment Fragment
Fragment
 
Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android
 
Database in Android
Database in AndroidDatabase in Android
Database in Android
 

Ähnlich wie Android Components

Servlets - filter, listeners, wrapper, internationalization
Servlets -  filter, listeners, wrapper, internationalizationServlets -  filter, listeners, wrapper, internationalization
Servlets - filter, listeners, wrapper, internationalizationsusant sahu
 
Threads handlers and async task, widgets - day8
Threads   handlers and async task, widgets - day8Threads   handlers and async task, widgets - day8
Threads handlers and async task, widgets - day8Utkarsh Mankad
 
Android Training (android fundamental)
Android Training (android fundamental)Android Training (android fundamental)
Android Training (android fundamental)Khaled Anaqwa
 
Android development Training Programme Day 2
Android development Training Programme Day 2Android development Training Programme Day 2
Android development Training Programme Day 2DHIRAJ PRAVIN
 
Architecting Single Activity Applications (With or Without Fragments)
Architecting Single Activity Applications (With or Without Fragments)Architecting Single Activity Applications (With or Without Fragments)
Architecting Single Activity Applications (With or Without Fragments)Gabor Varadi
 
Anatomy of android application
Anatomy of android applicationAnatomy of android application
Anatomy of android applicationNikunj Dhameliya
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to androidArbuleac Eugeniu
 
Lecture 3 getting active through activities
Lecture 3 getting active through activities Lecture 3 getting active through activities
Lecture 3 getting active through activities Ahsanul Karim
 
Android Activities.pdf
Android Activities.pdfAndroid Activities.pdf
Android Activities.pdfssusere71a07
 
ExecuteAndWait Interceptor
ExecuteAndWait InterceptorExecuteAndWait Interceptor
ExecuteAndWait InterceptorSeo Trainee
 
Execute andwait
Execute andwaitExecute andwait
Execute andwaitSeo Trainee
 
What is the difference between struts 1 vs struts 2
What is the difference between struts 1 vs struts 2What is the difference between struts 1 vs struts 2
What is the difference between struts 1 vs struts 2Santosh Singh Paliwal
 
Android application development
Android application developmentAndroid application development
Android application developmentMd. Mujahid Islam
 
Android application model
Android application modelAndroid application model
Android application modelmagicshui
 
Tk2323 lecture 6 fragment (new)
Tk2323 lecture 6   fragment (new)Tk2323 lecture 6   fragment (new)
Tk2323 lecture 6 fragment (new)MengChun Lam
 

Ähnlich wie Android Components (20)

Servlets - filter, listeners, wrapper, internationalization
Servlets -  filter, listeners, wrapper, internationalizationServlets -  filter, listeners, wrapper, internationalization
Servlets - filter, listeners, wrapper, internationalization
 
Threads handlers and async task, widgets - day8
Threads   handlers and async task, widgets - day8Threads   handlers and async task, widgets - day8
Threads handlers and async task, widgets - day8
 
fragments-activity.pptx
fragments-activity.pptxfragments-activity.pptx
fragments-activity.pptx
 
Android Training (android fundamental)
Android Training (android fundamental)Android Training (android fundamental)
Android Training (android fundamental)
 
Android development Training Programme Day 2
Android development Training Programme Day 2Android development Training Programme Day 2
Android development Training Programme Day 2
 
Architecting Single Activity Applications (With or Without Fragments)
Architecting Single Activity Applications (With or Without Fragments)Architecting Single Activity Applications (With or Without Fragments)
Architecting Single Activity Applications (With or Without Fragments)
 
Anatomy of android application
Anatomy of android applicationAnatomy of android application
Anatomy of android application
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Lecture 3 getting active through activities
Lecture 3 getting active through activities Lecture 3 getting active through activities
Lecture 3 getting active through activities
 
Android Activities.pdf
Android Activities.pdfAndroid Activities.pdf
Android Activities.pdf
 
Android101
Android101Android101
Android101
 
ExecuteAndWait Interceptor
ExecuteAndWait InterceptorExecuteAndWait Interceptor
ExecuteAndWait Interceptor
 
Execute andwait
Execute andwaitExecute andwait
Execute andwait
 
Android development session 4 - Fragments
Android development   session 4 - FragmentsAndroid development   session 4 - Fragments
Android development session 4 - Fragments
 
Introduction toandroid
Introduction toandroidIntroduction toandroid
Introduction toandroid
 
What is the difference between struts 1 vs struts 2
What is the difference between struts 1 vs struts 2What is the difference between struts 1 vs struts 2
What is the difference between struts 1 vs struts 2
 
Android application development
Android application developmentAndroid application development
Android application development
 
Android application model
Android application modelAndroid application model
Android application model
 
Android Fragment
Android FragmentAndroid Fragment
Android Fragment
 
Tk2323 lecture 6 fragment (new)
Tk2323 lecture 6   fragment (new)Tk2323 lecture 6   fragment (new)
Tk2323 lecture 6 fragment (new)
 

Mehr von Aatul Palandurkar

Mehr von Aatul Palandurkar (8)

Franchise Proposal
Franchise ProposalFranchise Proposal
Franchise Proposal
 
Adopt a JSR
Adopt a JSRAdopt a JSR
Adopt a JSR
 
NetCAT
NetCATNetCAT
NetCAT
 
Architecture of Android
Architecture of AndroidArchitecture of Android
Architecture of Android
 
Android & Why Mobile Application Development
Android & Why Mobile Application DevelopmentAndroid & Why Mobile Application Development
Android & Why Mobile Application Development
 
Java
JavaJava
Java
 
NetBeans IDE & Platform
NetBeans IDE & PlatformNetBeans IDE & Platform
NetBeans IDE & Platform
 
Netbeans IDE & Platform
Netbeans IDE & PlatformNetbeans IDE & Platform
Netbeans IDE & Platform
 

KĂŒrzlich hochgeladen

Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research DiscourseAnita GoswamiGiri
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseCeline George
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)
Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)
Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)lakshayb543
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvRicaMaeCastro1
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxMichelleTuguinay1
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
31 ĐỀ THI THỏ VÀO LỚP 10 - TIáșŸNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỏ VÀO LỚP 10 - TIáșŸNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỏ VÀO LỚP 10 - TIáșŸNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỏ VÀO LỚP 10 - TIáșŸNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...SeĂĄn Kennedy
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataBabyAnnMotar
 

KĂŒrzlich hochgeladen (20)

Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research Discourse
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)
Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)
Visit to a blind student's school🧑‍🩯🧑‍🩯(community medicine)
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
31 ĐỀ THI THỏ VÀO LỚP 10 - TIáșŸNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỏ VÀO LỚP 10 - TIáșŸNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỏ VÀO LỚP 10 - TIáșŸNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỏ VÀO LỚP 10 - TIáșŸNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped data
 

Android Components

  • 2. Android Components There are 4 basic components of an Android Application :  Activity  Service  Broadcast Receiver  Content Provider http://aatul.me - Atul Palandurkar
  • 3. Activity  An Activity represents a single screen with UI.  Activity class takes care of creating a window in which UI can be placed with the method setContentView(View)  While activities are often presented as full screen windows, they can also be used as floating windows or embedded inside another activity.  The onCreate(Bundle) is where you initialize your activity.  All activity classes must have a corresponding <activity> declaration in their package’s AndroidManifest.xml http://aatul.me - Atul Palandurkar
  • 5. Activity Stack Start Start Navigate Activity 2 Activity 3 back Foreground activity Activity 3 Activity 1 Activity 1 Activity 1 Activity 1 Activity 2 Activity 2 Activity 2 Back Stack Activity 3 Activity 3 destroyed http://aatul.me - Atul Palandurkar
  • 6. Service A Service is a component that runs in the background to perform long-running operations or to perform wok for remote processes.  Each service class must have a corresponding <service> declaration in its package’s AndroidManifest.xml  A service does not provide user interface.  Another component, such as an activity, can start the service and let it run or bind to it in order to interact with it. http://aatul.me - Atul Palandurkar
  • 7. startService() Service Starts the service Life Cycle onStartCommand() Starts actual operation Context.bindService() Obtains data from persistent onStop() OR Context.stopService() Stops the service, ready to get destroyed onDestroy() http://aatul.me - Atul Palandurkar
  • 8. Broadcast Receiver  They listen to broadcast intents.  They must be registered (either in code or within the AndroidManifest.xml).  Intent Filters must be used to specify which Intents it is listening for.  A broadcast receiver can be registered using multiple intent filters.  The onReceive() method be overridden to perform any operations. http://aatul.me - Atul Palandurkar
  • 9. Content Provider  Content providers are one of the primary building blocks of Android applications, providing content to applications.  They encapsulate data & provide it to applications through a single interface called ContentResolver.  A content provider is only required if there us a need to share data between multiple applications.  For example, the contacts data is used by multiple applications & must be stored in a content provider. http://aatul.me - Atul Palandurkar
  • 10. Thank You Atul Palandurkar Blog : http://aatul.me Training : training@shardainfotech.com Website : http://shardainfotech.com Contact : 091-9766210353