SlideShare a Scribd company logo
Android
Basics
Presented by:
Syed Luqman Quadri
What is Android?
 Android is a mobile operating system.
 It is based on linux.
 And hence it is open source.
Google Acquired Android Inc., A Small Startup, in
2005.
And now…..
Android is Moving Beyond Phones and Tablets to
Other Areas(IoT), Like Wearable Technology.
Who
am i?
Android is based on linux-
Hardware abstraction – drivers
Memory management
Process Management
Security Model
Networking
And many more …...
What does it mean?
Android sits on Linux. It simply means that the core of Android
is nothing but the Linux kernel.
It provides following functionality to Android-
Architecture of Android-
Android Application Basics-
Android applications are written in Java programming
language.
 Though one can write android application in any other language as
well using cross compilers.

SDK tools compile the source codes along with any
data and resource files into an archive file with an .apk
suffix. This is called an Android package and all the
code in single .apk file is treated as one application.
Each application lives in its own
security sandbox-
Sounds good .. but what actually this means ?
When an Android package is installed on Android
powered device, each application lives in its own
security sandbox which means the Android OS allows
any application/process to be able to access only the
information and resources that are necessary for its
legitimate purpose. This is known as principle of least
privilege.
So what is this principle and how android achieves
it?
How android achieves the
concept of sandbox?
Here comes the power of a multi-user OS : Linux
 The Android operating system is a multi-user Linux
based system in which each application is a different
user.

 Each application is assigned a unique Linux user ID
which will be used only by the system and is unknown
to the application.

 The system sets permissions forall the files in an
application so that only the user ID assigned to that
application can access them.
Continue...
 Each process has its own virtual machine (VM), so an
application's code runs in isolation from other
applications.

 By default, every application runs in its own Linux
process. Android starts the process when any of the
application's components need to be executed.
 And it shuts down the process when it is no longer
needed or when the system must recover memory for
other applications.
Multi-user Android devices
Just think and you will get the answer …...
we know every single app is an user.
But now android supports multiple user account on the same device
as in desktop os.
HOW?
Application Components
Basically there are four components-
 Activity

 Service

 Content Provider

 Broadcast Receiver
Android basics
Activity
 An Activity represents a single screen with a user
interface.
 Every screen in the application will be an extension
of the Activity class.
 Activities use Views to form graphical user interfaces
that display information and respond to user actions.
Service
 Services perform long-running operations or work for
remote processes in the background and do not
provide a user interface.
 Other component, such as an activity, can start a
service and it will continue to run in the background
even if the user switches to another application.
Content Provider
 Content provider manages a shared set of application
data and provides a generic way to share information
between the applications.
 For example, contact information is shared through a
content provider to any application.
 A content provider is often accessed from another
process by means of IPC.
Broadcast Receiver
 A Broadcast Receiver is a component that responds
to system-wide broadcast announcements such as
incoming call, SMS received, screen has turned off,
the battery is low, or a picture was captured.
 Applications can also initiate broadcasts, for
example, to inform other applications that some data
has been downloaded to the device and is available
for them to use.
Thankyou !

More Related Content

What's hot (20)

PPT
Android development tutorial
nazzf
 
PDF
Android : Architecture & Components
Akash Bisariya
 
ODP
Intro To Android App Development
Mike Kvintus
 
PPT
Introduction to Android
Ranjith Kumar
 
PPT
Android application structure
Alexey Ustenko
 
PPTX
Introduction to Android Development
donnfelker
 
PPTX
Introduction to android
zeelpatel0504
 
PPTX
Project presentation (Loginradius SDK for Android)
shwetarathi Rathi
 
PPTX
Basic android-ppt
Srijib Roy
 
ODP
Introduction to Android App Development
Todd Burgess
 
PDF
Introduction to Android Development
Aly Abdelkareem
 
PPT
Getting Started With ANDROID
Amit Yadav
 
PPTX
Android app development ppt
saitej15
 
PPTX
Get an Android tutorial for beginners
JavaTpoint.Com
 
PPT
Android
Deevena Dayaal
 
PPTX
android architecture
Aashita Gupta
 
PPTX
Android Development Training
chandutata
 
PDF
Android fundamentals and tutorial for beginners
Boom Shukla
 
PDF
Android Platform Architecture
Naresh Chintalcheru
 
PPT
Android My Seminar
Ganesh Waghmare
 
Android development tutorial
nazzf
 
Android : Architecture & Components
Akash Bisariya
 
Intro To Android App Development
Mike Kvintus
 
Introduction to Android
Ranjith Kumar
 
Android application structure
Alexey Ustenko
 
Introduction to Android Development
donnfelker
 
Introduction to android
zeelpatel0504
 
Project presentation (Loginradius SDK for Android)
shwetarathi Rathi
 
Basic android-ppt
Srijib Roy
 
Introduction to Android App Development
Todd Burgess
 
Introduction to Android Development
Aly Abdelkareem
 
Getting Started With ANDROID
Amit Yadav
 
Android app development ppt
saitej15
 
Get an Android tutorial for beginners
JavaTpoint.Com
 
android architecture
Aashita Gupta
 
Android Development Training
chandutata
 
Android fundamentals and tutorial for beginners
Boom Shukla
 
Android Platform Architecture
Naresh Chintalcheru
 
Android My Seminar
Ganesh Waghmare
 

Viewers also liked (7)

PPTX
Basics of android
Arko Das
 
PPTX
Introduction to android basics
Hasam Panezai
 
PPT
Google Android
Michael Angelo Rivera
 
PDF
Android & Why Mobile Application Development
Aatul Palandurkar
 
ZIP
Android Application Development
Benny Skogberg
 
PPTX
Learn Android app development in easy steps
Mobile Pundits
 
PPTX
Android ppt
srikanth982
 
Basics of android
Arko Das
 
Introduction to android basics
Hasam Panezai
 
Google Android
Michael Angelo Rivera
 
Android & Why Mobile Application Development
Aatul Palandurkar
 
Android Application Development
Benny Skogberg
 
Learn Android app development in easy steps
Mobile Pundits
 
Android ppt
srikanth982
 
Ad

Similar to Android basics (20)

PPT
Module - Programming with android course.ppt
demowork2
 
PPT
Synapseindia android apps overview
Synapseindiappsdevelopment
 
PDF
Android development training programme Day 1
DHIRAJ PRAVIN
 
PPTX
Android Security Humla Part 1
Nikhil Kulkarni
 
PPTX
Android quick talk
SenthilKumar Selvaraj
 
PPTX
Android 1-intro n architecture
Dilip Singh
 
PDF
First Steps with Android - An Exciting Introduction
Cesar Augusto Nogueira
 
PDF
Mobile Application Development with Android
IJAAS Team
 
PDF
Lecture-01.pdf good lecture important notes
IqraHanif27
 
PPT
Android presentation slide
APSMIND TECHNOLOGY PVT LTD.
 
PPTX
Android my
pratikguptateddy
 
DOC
Mobile testing android
Basant Dewangan
 
PPTX
Mobile Application Guideline | Mobile App Development Company
Arna Softech Private Limited
 
DOC
Google android white paper
Sravan Reddy
 
DOCX
Introduction%20of%20android
Lekha Adhi
 
PPTX
Android platform
Rashmi Warghade
 
PDF
Android Introduction by Kajal
Kajal Kucheriya Jain
 
PPTX
Android Penetration Testing - Day 1
Mohammed Adam
 
PPTX
Android Application Development
Ramesh Prasad
 
PPTX
Android Technology
R
 
Module - Programming with android course.ppt
demowork2
 
Synapseindia android apps overview
Synapseindiappsdevelopment
 
Android development training programme Day 1
DHIRAJ PRAVIN
 
Android Security Humla Part 1
Nikhil Kulkarni
 
Android quick talk
SenthilKumar Selvaraj
 
Android 1-intro n architecture
Dilip Singh
 
First Steps with Android - An Exciting Introduction
Cesar Augusto Nogueira
 
Mobile Application Development with Android
IJAAS Team
 
Lecture-01.pdf good lecture important notes
IqraHanif27
 
Android presentation slide
APSMIND TECHNOLOGY PVT LTD.
 
Android my
pratikguptateddy
 
Mobile testing android
Basant Dewangan
 
Mobile Application Guideline | Mobile App Development Company
Arna Softech Private Limited
 
Google android white paper
Sravan Reddy
 
Introduction%20of%20android
Lekha Adhi
 
Android platform
Rashmi Warghade
 
Android Introduction by Kajal
Kajal Kucheriya Jain
 
Android Penetration Testing - Day 1
Mohammed Adam
 
Android Application Development
Ramesh Prasad
 
Android Technology
R
 
Ad

Recently uploaded (20)

PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PDF
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
PDF
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PPTX
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PPTX
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 

Android basics

  • 2. What is Android?  Android is a mobile operating system.  It is based on linux.  And hence it is open source. Google Acquired Android Inc., A Small Startup, in 2005. And now….. Android is Moving Beyond Phones and Tablets to Other Areas(IoT), Like Wearable Technology. Who am i?
  • 3. Android is based on linux- Hardware abstraction – drivers Memory management Process Management Security Model Networking And many more …... What does it mean? Android sits on Linux. It simply means that the core of Android is nothing but the Linux kernel. It provides following functionality to Android-
  • 5. Android Application Basics- Android applications are written in Java programming language.  Though one can write android application in any other language as well using cross compilers.  SDK tools compile the source codes along with any data and resource files into an archive file with an .apk suffix. This is called an Android package and all the code in single .apk file is treated as one application.
  • 6. Each application lives in its own security sandbox- Sounds good .. but what actually this means ? When an Android package is installed on Android powered device, each application lives in its own security sandbox which means the Android OS allows any application/process to be able to access only the information and resources that are necessary for its legitimate purpose. This is known as principle of least privilege. So what is this principle and how android achieves it?
  • 7. How android achieves the concept of sandbox? Here comes the power of a multi-user OS : Linux  The Android operating system is a multi-user Linux based system in which each application is a different user.   Each application is assigned a unique Linux user ID which will be used only by the system and is unknown to the application.   The system sets permissions forall the files in an application so that only the user ID assigned to that application can access them.
  • 8. Continue...  Each process has its own virtual machine (VM), so an application's code runs in isolation from other applications.   By default, every application runs in its own Linux process. Android starts the process when any of the application's components need to be executed.  And it shuts down the process when it is no longer needed or when the system must recover memory for other applications.
  • 9. Multi-user Android devices Just think and you will get the answer …... we know every single app is an user. But now android supports multiple user account on the same device as in desktop os. HOW?
  • 10. Application Components Basically there are four components-  Activity   Service   Content Provider   Broadcast Receiver
  • 12. Activity  An Activity represents a single screen with a user interface.  Every screen in the application will be an extension of the Activity class.  Activities use Views to form graphical user interfaces that display information and respond to user actions.
  • 13. Service  Services perform long-running operations or work for remote processes in the background and do not provide a user interface.  Other component, such as an activity, can start a service and it will continue to run in the background even if the user switches to another application.
  • 14. Content Provider  Content provider manages a shared set of application data and provides a generic way to share information between the applications.  For example, contact information is shared through a content provider to any application.  A content provider is often accessed from another process by means of IPC.
  • 15. Broadcast Receiver  A Broadcast Receiver is a component that responds to system-wide broadcast announcements such as incoming call, SMS received, screen has turned off, the battery is low, or a picture was captured.  Applications can also initiate broadcasts, for example, to inform other applications that some data has been downloaded to the device and is available for them to use.