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
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

Android development tutorial
Android development tutorialAndroid development tutorial
Android development tutorial
nazzf
 
Android : Architecture & Components
Android : Architecture & ComponentsAndroid : Architecture & Components
Android : Architecture & Components
Akash Bisariya
 
Intro To Android App Development
Intro To Android App DevelopmentIntro To Android App Development
Intro To Android App Development
Mike Kvintus
 
Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android
Ranjith Kumar
 
Android application structure
Android application structureAndroid application structure
Android application structure
Alexey Ustenko
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
donnfelker
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
zeelpatel0504
 
Project presentation (Loginradius SDK for Android)
Project presentation (Loginradius SDK for Android)Project presentation (Loginradius SDK for Android)
Project presentation (Loginradius SDK for Android)
shwetarathi Rathi
 
Basic android-ppt
Basic android-pptBasic android-ppt
Basic android-ppt
Srijib Roy
 
Introduction to Android App Development
Introduction to Android App DevelopmentIntroduction to Android App Development
Introduction to Android App Development
Todd Burgess
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
Aly Abdelkareem
 
Getting Started With ANDROID
Getting Started With ANDROIDGetting Started With ANDROID
Getting Started With ANDROID
Amit Yadav
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development ppt
saitej15
 
Get an Android tutorial for beginners
Get an Android tutorial for beginnersGet an Android tutorial for beginners
Get an Android tutorial for beginners
JavaTpoint.Com
 
Android
AndroidAndroid
android architecture
android architectureandroid architecture
android architecture
Aashita Gupta
 
Android Development Training
Android Development TrainingAndroid Development Training
Android Development Training
chandutata
 
Android fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginnersAndroid fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginners
Boom Shukla
 
Android Platform Architecture
Android Platform ArchitectureAndroid Platform Architecture
Android Platform Architecture
Naresh Chintalcheru
 
Android My Seminar
Android My SeminarAndroid My Seminar
Android My Seminar
Ganesh Waghmare
 

What's hot (20)

Android development tutorial
Android development tutorialAndroid development tutorial
Android development tutorial
 
Android : Architecture & Components
Android : Architecture & ComponentsAndroid : Architecture & Components
Android : Architecture & Components
 
Intro To Android App Development
Intro To Android App DevelopmentIntro To Android App Development
Intro To Android App Development
 
Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android
 
Android application structure
Android application structureAndroid application structure
Android application structure
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Project presentation (Loginradius SDK for Android)
Project presentation (Loginradius SDK for Android)Project presentation (Loginradius SDK for Android)
Project presentation (Loginradius SDK for Android)
 
Basic android-ppt
Basic android-pptBasic android-ppt
Basic android-ppt
 
Introduction to Android App Development
Introduction to Android App DevelopmentIntroduction to Android App Development
Introduction to Android App Development
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
 
Getting Started With ANDROID
Getting Started With ANDROIDGetting Started With ANDROID
Getting Started With ANDROID
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development ppt
 
Get an Android tutorial for beginners
Get an Android tutorial for beginnersGet an Android tutorial for beginners
Get an Android tutorial for beginners
 
Android
AndroidAndroid
Android
 
android architecture
android architectureandroid architecture
android architecture
 
Android Development Training
Android Development TrainingAndroid Development Training
Android Development Training
 
Android fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginnersAndroid fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginners
 
Android Platform Architecture
Android Platform ArchitectureAndroid Platform Architecture
Android Platform Architecture
 
Android My Seminar
Android My SeminarAndroid My Seminar
Android My Seminar
 

Viewers also liked

Basics of android
Basics of androidBasics of android
Basics of android
Arko Das
 
Introduction to android basics
Introduction to android basicsIntroduction to android basics
Introduction to android basics
Hasam Panezai
 
Google Android
Google AndroidGoogle Android
Google Android
Michael Angelo Rivera
 
Android & Why Mobile Application Development
Android & Why Mobile Application DevelopmentAndroid & Why Mobile Application Development
Android & Why Mobile Application Development
Aatul Palandurkar
 
Android Application Development
Android Application DevelopmentAndroid Application Development
Android Application Development
Benny Skogberg
 
Learn Android app development in easy steps
Learn Android app development in easy stepsLearn Android app development in easy steps
Learn Android app development in easy steps
Mobile Pundits
 
Android ppt
Android pptAndroid ppt
Android ppt
srikanth982
 

Viewers also liked (7)

Basics of android
Basics of androidBasics of android
Basics of android
 
Introduction to android basics
Introduction to android basicsIntroduction to android basics
Introduction to android basics
 
Google Android
Google AndroidGoogle Android
Google Android
 
Android & Why Mobile Application Development
Android & Why Mobile Application DevelopmentAndroid & Why Mobile Application Development
Android & Why Mobile Application Development
 
Android Application Development
Android Application DevelopmentAndroid Application Development
Android Application Development
 
Learn Android app development in easy steps
Learn Android app development in easy stepsLearn Android app development in easy steps
Learn Android app development in easy steps
 
Android ppt
Android pptAndroid ppt
Android ppt
 

Similar to Android basics

Know all about android development
Know all about android developmentKnow all about android development
Know all about android development
Deepika Chaudhary
 
Android beginners David
Android beginners DavidAndroid beginners David
Android beginners David
Arun David Johnson R
 
Aptech Apps
Aptech Apps Aptech Apps
Aptech Apps
RasikaShinde6
 
Android application fundamentals
Android application fundamentalsAndroid application fundamentals
Android application fundamentals
Steve Smith
 
Android training in chandigarh
Android training in chandigarhAndroid training in chandigarh
Android training in chandigarh
CBitss Technologies
 
Google android white paper
Google android white paperGoogle android white paper
Google android white paper
Sravan Reddy
 
Android Introduction by Kajal
Android Introduction by KajalAndroid Introduction by Kajal
Android Introduction by Kajal
Kajal Kucheriya Jain
 
Introduction to Android Development Part 1
Introduction to Android Development Part 1Introduction to Android Development Part 1
Introduction to Android Development Part 1
Kainda Kiniel Daka
 
Android 1-intro n architecture
Android 1-intro n architectureAndroid 1-intro n architecture
Android 1-intro n architecture
Dilip Singh
 
Android platform
Android platform Android platform
Android platform
Rashmi Warghade
 
Android interview questions and answers
Android interview questions and answersAndroid interview questions and answers
Android interview questions and answers
kavinilavuG
 
Introduction to everything around Android
Introduction to everything around AndroidIntroduction to everything around Android
Introduction to everything around Android
Bipin Jethwani
 
Mediating Applications on the Android System
Mediating Applications on the Android SystemMediating Applications on the Android System
Mediating Applications on the Android System
Nizar Maan
 
Android development training programme Day 1
Android development training programme Day 1Android development training programme Day 1
Android development training programme Day 1
DHIRAJ PRAVIN
 
Mobile testing android
Mobile testing   androidMobile testing   android
Mobile testing android
Basant Dewangan
 
Hello android world
Hello android worldHello android world
Hello android world
eleksdev
 
Cc4201519521
Cc4201519521Cc4201519521
Cc4201519521
IJERA Editor
 
01 what is android
01 what is android01 what is android
01 what is android
C.o. Nieto
 
android app development training report
android app development training reportandroid app development training report
android app development training report
Rishita Jaggi
 
architecture of android.pptx
architecture of android.pptxarchitecture of android.pptx
architecture of android.pptx
allurestore
 

Similar to Android basics (20)

Know all about android development
Know all about android developmentKnow all about android development
Know all about android development
 
Android beginners David
Android beginners DavidAndroid beginners David
Android beginners David
 
Aptech Apps
Aptech Apps Aptech Apps
Aptech Apps
 
Android application fundamentals
Android application fundamentalsAndroid application fundamentals
Android application fundamentals
 
Android training in chandigarh
Android training in chandigarhAndroid training in chandigarh
Android training in chandigarh
 
Google android white paper
Google android white paperGoogle android white paper
Google android white paper
 
Android Introduction by Kajal
Android Introduction by KajalAndroid Introduction by Kajal
Android Introduction by Kajal
 
Introduction to Android Development Part 1
Introduction to Android Development Part 1Introduction to Android Development Part 1
Introduction to Android Development Part 1
 
Android 1-intro n architecture
Android 1-intro n architectureAndroid 1-intro n architecture
Android 1-intro n architecture
 
Android platform
Android platform Android platform
Android platform
 
Android interview questions and answers
Android interview questions and answersAndroid interview questions and answers
Android interview questions and answers
 
Introduction to everything around Android
Introduction to everything around AndroidIntroduction to everything around Android
Introduction to everything around Android
 
Mediating Applications on the Android System
Mediating Applications on the Android SystemMediating Applications on the Android System
Mediating Applications on the Android System
 
Android development training programme Day 1
Android development training programme Day 1Android development training programme Day 1
Android development training programme Day 1
 
Mobile testing android
Mobile testing   androidMobile testing   android
Mobile testing android
 
Hello android world
Hello android worldHello android world
Hello android world
 
Cc4201519521
Cc4201519521Cc4201519521
Cc4201519521
 
01 what is android
01 what is android01 what is android
01 what is android
 
android app development training report
android app development training reportandroid app development training report
android app development training report
 
architecture of android.pptx
architecture of android.pptxarchitecture of android.pptx
architecture of android.pptx
 

Recently uploaded

Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 

Recently uploaded (20)

Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 

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
  • 11.
  • 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.