SlideShare a Scribd company logo
What Exactly is
“Context” in Android ?
Bible
Reference
• http://stackoverflow.com/questions/3572463/what-is-
context-in-android
Definition of Context
• Context represents environment data
• It provides access to things such as databases
Simpler terms
• CEO of a start-up software company
• a lead architect present in the company
• CEO Hires a new Developer
• It is the Architect who tells the responsibility of the
new hired person
Simpler terms
• It's similar to a when you visit a hotel, you want
breakfast, lunch & dinner in suitable timings right ?
• There are many other things you like during the time of
stay. How you get these things?
• You ask the room-service person to bring the things for
you
• Here room-service person is the context considering you
are the single activity and the hotel to be your app,
finally the breakfast, lunch & dinner to be the resources
Things that involve context
• Loading a resource
• Launching a new activity
• Creating views
• Obtaining system service
Context is the base class for
Activity, Service, Application .... etc
• Another way to describe is, consider context as remote of
a TV & channel's in the television are resources, services,
using intents etc - - - Here remote acts as an access to
get access to all the different resources into foreground.
• So, Remote has access to channels such as resources,
services, using intents etc ….
• Likewise ..... Whoever has access to remote naturally has
access to all the things such as resources, services, using
intents etc

More Related Content

PPTX
A night at the spa
PDF
Filepicker Slideshow
PDF
Enterprise Implementation & the Experience API
PDF
Middleware Migration Case Study: Moving from Unix and Entera to Linux and NXTera
PPTX
SenchaCon 2016: An Ext JS Dashboard for IoT Data - Dan Gallo
PPTX
Android Studio - Tasks & Context
PDF
Introduction to Android by Demian Neidetcher
PDF
Guessing meaning fron context
A night at the spa
Filepicker Slideshow
Enterprise Implementation & the Experience API
Middleware Migration Case Study: Moving from Unix and Entera to Linux and NXTera
SenchaCon 2016: An Ext JS Dashboard for IoT Data - Dan Gallo
Android Studio - Tasks & Context
Introduction to Android by Demian Neidetcher
Guessing meaning fron context

Similar to What is context (20)

PDF
Data Foundation for Analytics Excellence by Tanimura, cathy from Okta
PPTX
The Cloud Presentation 2016
PDF
Microsoft BotFramework - Global AI Bootcamp Nepal 2022
PPTX
Software development planning and essentials
PPTX
Software development planning and essentials
PDF
Enabling your DevOps culture with AWS-webinar
PDF
A Proven Software Development Process for the Non Technical Founder
PDF
Workshop "Building Modern Web Applications with Firebase (and Angular)", Arm...
PDF
"Easy and scalable serverless backend for your next mobile or web app", Arman...
PDF
Broadcom CA SDM overview - Introduction to BOP
PDF
Why BaaS is crucial to early stage startups
PDF
Which database should I use for my app?
PDF
Mind The Gap: Why IT Will Deliver a Great User Experience - Webinar Slides
PDF
Achieving IaC and documentation via terraform provider
PDF
2019-10-15 - the future of cloud-native Java - Bert Ertman
PDF
Cloud Native (Bert Ertman)
PDF
Tradeoffs
PPTX
Beyond the Intranet: Digital Workplace Apps, Solutions n Bots #powell365
PDF
Comment choisir entre Parse, Heroku et AWS ?
PDF
Server’s variations bsw2015
Data Foundation for Analytics Excellence by Tanimura, cathy from Okta
The Cloud Presentation 2016
Microsoft BotFramework - Global AI Bootcamp Nepal 2022
Software development planning and essentials
Software development planning and essentials
Enabling your DevOps culture with AWS-webinar
A Proven Software Development Process for the Non Technical Founder
Workshop "Building Modern Web Applications with Firebase (and Angular)", Arm...
"Easy and scalable serverless backend for your next mobile or web app", Arman...
Broadcom CA SDM overview - Introduction to BOP
Why BaaS is crucial to early stage startups
Which database should I use for my app?
Mind The Gap: Why IT Will Deliver a Great User Experience - Webinar Slides
Achieving IaC and documentation via terraform provider
2019-10-15 - the future of cloud-native Java - Bert Ertman
Cloud Native (Bert Ertman)
Tradeoffs
Beyond the Intranet: Digital Workplace Apps, Solutions n Bots #powell365
Comment choisir entre Parse, Heroku et AWS ?
Server’s variations bsw2015
Ad

Recently uploaded (20)

PPTX
Welding lecture in detail for understanding
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
additive manufacturing of ss316l using mig welding
PDF
composite construction of structures.pdf
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPT
Project quality management in manufacturing
PPTX
Sustainable Sites - Green Building Construction
PDF
Digital Logic Computer Design lecture notes
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
DOCX
573137875-Attendance-Management-System-original
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Welding lecture in detail for understanding
Foundation to blockchain - A guide to Blockchain Tech
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
additive manufacturing of ss316l using mig welding
composite construction of structures.pdf
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Project quality management in manufacturing
Sustainable Sites - Green Building Construction
Digital Logic Computer Design lecture notes
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
CYBER-CRIMES AND SECURITY A guide to understanding
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
573137875-Attendance-Management-System-original
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Internet of Things (IOT) - A guide to understanding
Model Code of Practice - Construction Work - 21102022 .pdf
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Ad

What is context

  • 1. What Exactly is “Context” in Android ? Bible
  • 3. Definition of Context • Context represents environment data • It provides access to things such as databases
  • 4. Simpler terms • CEO of a start-up software company • a lead architect present in the company • CEO Hires a new Developer • It is the Architect who tells the responsibility of the new hired person
  • 5. Simpler terms • It's similar to a when you visit a hotel, you want breakfast, lunch & dinner in suitable timings right ? • There are many other things you like during the time of stay. How you get these things? • You ask the room-service person to bring the things for you • Here room-service person is the context considering you are the single activity and the hotel to be your app, finally the breakfast, lunch & dinner to be the resources
  • 6. Things that involve context • Loading a resource • Launching a new activity • Creating views • Obtaining system service
  • 7. Context is the base class for Activity, Service, Application .... etc • Another way to describe is, consider context as remote of a TV & channel's in the television are resources, services, using intents etc - - - Here remote acts as an access to get access to all the different resources into foreground. • So, Remote has access to channels such as resources, services, using intents etc …. • Likewise ..... Whoever has access to remote naturally has access to all the things such as resources, services, using intents etc