SlideShare une entreprise Scribd logo
1  sur  35
Android
Course
Amira Elsayed Ismail
1
Agenda
• Why Learn Android?
• Prerequisites.
• Android History.
• What is Android?
• Android Architecture.
2
Why Learn Android?
• Run your applications on 59% of the smartphones
worldwide (Jul - 2012).
• Join in 600,000 applications for android (Jul - 2012).
• Not just smartphone, Android OS is being used in,
TVs, Microwaves, Car Tapes. Etc…
• High job success rates.
• Create app sell to market very easily.
3
4
Prerequisites
• Object-oriented programming.
• You must understand terms like (Class, Instance,
Method, Superclass and Subclass).
• Installation of Eclipse IDE & Android SDK Tools.
• Install all SDKs preferably (2.1, 2.2 & 4.x).
• An android device. (Optional but highly
recommended).
5
Android History
• Started by Android Inc. in 2005, which had
been financed by Google.
• In 2007 Google bought Android Inc.
• Android beta was released in Nov 2007.
• Android v1.0 was released in Sep 2008.
• Latest android version is 4.4 (Kitkat).
6
7
8
What is Android?
 Android is an operating system for mobile
devices such as smartphones and tablet
computers.
 Android has beaten Apple iOS, being the
leading mobile operating system from first
quarter of 2011
9
Android Architecture
 Android system is composed of following
items:
 Linux Kernel.
 Libraries.
 Applications Framework.
 Applications.
10
11
Android Architecture (Cont’d)
 Linux Kernel
 Its customized Linux kernel with a lot more
android specific code to support devices.
 One of the kernel's main function is to
control hardware.
12
Android Architecture (Cont’d)
 Libraries
 Webkit
 Modern web browser engine used in both
web view as well as native browser.
 Support CSS, Java script, DOM, Ajax etc.
13
Android Architecture (Cont’d)
 Libraries
 Media framework
 PacketVideo, openCORE platform.
 Support Audio, Video, Still-frame formats.
14
Android Architecture (Cont’d)
 Libraries
 SQLite
 Self-contained.
 Serverless.
 Zero-configuration.
 SQL Database.
15
Android Architecture (Cont’d)
 Libraries
 OpenGL|ES(openGL for EmbeddedSystems)
 Standard specification for 2D/3D graphics.
 Can simulate physics.
 Complex 3D scenes can be drawn.
 Used in (Virtual reality, Augmented reality,
Game programming, Scientific visualization and
Flight simulation).
16
Android Architecture (Cont’d)
 Libraries
 Surface Manager
 Manages access to display subsystem.
 Seamlessly composites graphic layers 2D/3D
layers from different applications.
17
Android Architecture (Cont’d)
 Libraries
 SGL (Skia graphic library)
 An underlying 2D graphics engine.
 Used to draw text, geometries & images.
18
Android Architecture (Cont’d)
 Libraries
 SSL (Secure Sockets Layer)
 Cryptographic protocol to provide
information security over internet.
19
Android Architecture (Cont’d)
 Libraries
 FreeType
 Bitmap and vector font rendering.
20
Android Architecture (Cont’d)
 Android Runtime
 Dalvik Virtual Machine
 Provides application portability and runtime
consistency.
 Runs optimized file format (.dex) and Dalvik
bytecode.
21
22
Android Architecture (Cont’d)
 Android Runtime
 Core Libraries
 Data structures
 File Access
 Graphics
 Network Access
 Utilities
23
Android Architecture (Cont’d)
 Applications Framework
 Activity Manager
 Interact with overall activities running in the
system.
 Manage lifecycle of activities.
 Manage stacking of activities.
24
25
Android Architecture (Cont’d)
 Applications Framework
 Window Manager
 Dispatch input events to clients.
 Transition animation.
 Create layout/surfaces (using
SurfaceManager).
26
Android Architecture (Cont’d)
 Applications Framework
 Content Providers
 Manage access to structured access of data.
 Mainly used for data sharing purposes.
27
28
Android Architecture (Cont’d)
 Applications Framework
 View System
 Basic building block for UI components.
 Can be extended to build custom UI
components.
29
Android Architecture (Cont’d)
 Applications Framework
 Package Manager
 Provides methods for querying and
manipulating installed packages.
30
Android Architecture (Cont’d)
 Applications Framework
 Telephony Manager
 Provides access to telephony services on
android.
 Can monitor telephone state changes.
31
Android Architecture (Cont’d)
 Applications Framework
 Location Manager
 Provide access to system location services.
 Able to track location periodically or one-
time.
32
Android Architecture (Cont’d)
 Applications Framework
 Resource Manager
 Link external resources to native app at build
time.
 Resources may include XML Layouts, Bitmaps,
raw files etc.
33
Android Architecture (Cont’d)
 Applications Framework
 Notification Manager
 Notify users about events.
34
35

Contenu connexe

Similaire à Android course (lecture1)

Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android Ranjith Kumar
 
Android Internals and Toolchain
Android Internals and ToolchainAndroid Internals and Toolchain
Android Internals and ToolchainVladimir Kotov
 
Android and its feature
Android and its featureAndroid and its feature
Android and its featureShubham Kumar
 
Android programming Assignment Help
Android programming Assignment HelpAndroid programming Assignment Help
Android programming Assignment Helpsmithjonny9876
 
Android Technology
Android TechnologyAndroid Technology
Android TechnologyR
 
Android development tutorial
Android development tutorialAndroid development tutorial
Android development tutorialnazzf
 
Android understanding
Android understandingAndroid understanding
Android understandingRamesh Rao
 
Android development tutorial
Android development tutorialAndroid development tutorial
Android development tutorialMohammad Taj
 
Phonebook Directory or Address Book In Android
Phonebook Directory or Address Book In AndroidPhonebook Directory or Address Book In Android
Phonebook Directory or Address Book In AndroidABHISHEK DINKAR
 
Case Study: Cool Clock - An Intro to Android Development
Case Study: Cool Clock - An Intro to Android DevelopmentCase Study: Cool Clock - An Intro to Android Development
Case Study: Cool Clock - An Intro to Android DevelopmentRichard Creamer
 
Overview of Adroid Architecture.pptx
Overview of Adroid Architecture.pptxOverview of Adroid Architecture.pptx
Overview of Adroid Architecture.pptxdebasish duarah
 
Getting started with android
Getting started with androidGetting started with android
Getting started with androidamitgb
 
02.introduction to android
02.introduction to android02.introduction to android
02.introduction to androidMalik Abualzait
 
Android seminar report
Android seminar reportAndroid seminar report
Android seminar reportdgpune
 

Similaire à Android course (lecture1) (20)

Android course1
Android course1Android course1
Android course1
 
Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android
 
01 03 - introduction to android
01  03 - introduction to android01  03 - introduction to android
01 03 - introduction to android
 
Android Internals and Toolchain
Android Internals and ToolchainAndroid Internals and Toolchain
Android Internals and Toolchain
 
Chapter1
Chapter1Chapter1
Chapter1
 
Android and its feature
Android and its featureAndroid and its feature
Android and its feature
 
Android programming Assignment Help
Android programming Assignment HelpAndroid programming Assignment Help
Android programming Assignment Help
 
Android Technology
Android TechnologyAndroid Technology
Android Technology
 
Android development tutorial
Android development tutorialAndroid development tutorial
Android development tutorial
 
My androidpresentation
My androidpresentationMy androidpresentation
My androidpresentation
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Android understanding
Android understandingAndroid understanding
Android understanding
 
Android development tutorial
Android development tutorialAndroid development tutorial
Android development tutorial
 
Phonebook Directory or Address Book In Android
Phonebook Directory or Address Book In AndroidPhonebook Directory or Address Book In Android
Phonebook Directory or Address Book In Android
 
Case Study: Cool Clock - An Intro to Android Development
Case Study: Cool Clock - An Intro to Android DevelopmentCase Study: Cool Clock - An Intro to Android Development
Case Study: Cool Clock - An Intro to Android Development
 
Android overview
Android overviewAndroid overview
Android overview
 
Overview of Adroid Architecture.pptx
Overview of Adroid Architecture.pptxOverview of Adroid Architecture.pptx
Overview of Adroid Architecture.pptx
 
Getting started with android
Getting started with androidGetting started with android
Getting started with android
 
02.introduction to android
02.introduction to android02.introduction to android
02.introduction to android
 
Android seminar report
Android seminar reportAndroid seminar report
Android seminar report
 

Plus de Amira Elsayed Ismail

Plus de Amira Elsayed Ismail (7)

Introduction to Agile and Scrum.pptx
Introduction to Agile and Scrum.pptxIntroduction to Agile and Scrum.pptx
Introduction to Agile and Scrum.pptx
 
Moodle installation guide
Moodle installation guideMoodle installation guide
Moodle installation guide
 
DBeaver installation guide
DBeaver installation guideDBeaver installation guide
DBeaver installation guide
 
Xampp installation guide
Xampp installation guideXampp installation guide
Xampp installation guide
 
UberTest Quick Guide
UberTest Quick GuideUberTest Quick Guide
UberTest Quick Guide
 
Subversion and bug tracking
Subversion and bug trackingSubversion and bug tracking
Subversion and bug tracking
 
Software Development Process
Software Development ProcessSoftware Development Process
Software Development Process
 

Dernier

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
 
4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptxmary850239
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6Vanessa Camilleri
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvRicaMaeCastro1
 
CHEST Proprioceptive neuromuscular facilitation.pptx
CHEST Proprioceptive neuromuscular facilitation.pptxCHEST Proprioceptive neuromuscular facilitation.pptx
CHEST Proprioceptive neuromuscular facilitation.pptxAneriPatwari
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
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
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
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
 
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
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesVijayaLaxmi84
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Association for Project Management
 

Dernier (20)

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...
 
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
 
4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
 
CHEST Proprioceptive neuromuscular facilitation.pptx
CHEST Proprioceptive neuromuscular facilitation.pptxCHEST Proprioceptive neuromuscular facilitation.pptx
CHEST Proprioceptive neuromuscular facilitation.pptx
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
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
 
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
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
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
 
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
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their uses
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
 

Android course (lecture1)

  • 2. Agenda • Why Learn Android? • Prerequisites. • Android History. • What is Android? • Android Architecture. 2
  • 3. Why Learn Android? • Run your applications on 59% of the smartphones worldwide (Jul - 2012). • Join in 600,000 applications for android (Jul - 2012). • Not just smartphone, Android OS is being used in, TVs, Microwaves, Car Tapes. Etc… • High job success rates. • Create app sell to market very easily. 3
  • 4. 4
  • 5. Prerequisites • Object-oriented programming. • You must understand terms like (Class, Instance, Method, Superclass and Subclass). • Installation of Eclipse IDE & Android SDK Tools. • Install all SDKs preferably (2.1, 2.2 & 4.x). • An android device. (Optional but highly recommended). 5
  • 6. Android History • Started by Android Inc. in 2005, which had been financed by Google. • In 2007 Google bought Android Inc. • Android beta was released in Nov 2007. • Android v1.0 was released in Sep 2008. • Latest android version is 4.4 (Kitkat). 6
  • 7. 7
  • 8. 8
  • 9. What is Android?  Android is an operating system for mobile devices such as smartphones and tablet computers.  Android has beaten Apple iOS, being the leading mobile operating system from first quarter of 2011 9
  • 10. Android Architecture  Android system is composed of following items:  Linux Kernel.  Libraries.  Applications Framework.  Applications. 10
  • 11. 11
  • 12. Android Architecture (Cont’d)  Linux Kernel  Its customized Linux kernel with a lot more android specific code to support devices.  One of the kernel's main function is to control hardware. 12
  • 13. Android Architecture (Cont’d)  Libraries  Webkit  Modern web browser engine used in both web view as well as native browser.  Support CSS, Java script, DOM, Ajax etc. 13
  • 14. Android Architecture (Cont’d)  Libraries  Media framework  PacketVideo, openCORE platform.  Support Audio, Video, Still-frame formats. 14
  • 15. Android Architecture (Cont’d)  Libraries  SQLite  Self-contained.  Serverless.  Zero-configuration.  SQL Database. 15
  • 16. Android Architecture (Cont’d)  Libraries  OpenGL|ES(openGL for EmbeddedSystems)  Standard specification for 2D/3D graphics.  Can simulate physics.  Complex 3D scenes can be drawn.  Used in (Virtual reality, Augmented reality, Game programming, Scientific visualization and Flight simulation). 16
  • 17. Android Architecture (Cont’d)  Libraries  Surface Manager  Manages access to display subsystem.  Seamlessly composites graphic layers 2D/3D layers from different applications. 17
  • 18. Android Architecture (Cont’d)  Libraries  SGL (Skia graphic library)  An underlying 2D graphics engine.  Used to draw text, geometries & images. 18
  • 19. Android Architecture (Cont’d)  Libraries  SSL (Secure Sockets Layer)  Cryptographic protocol to provide information security over internet. 19
  • 20. Android Architecture (Cont’d)  Libraries  FreeType  Bitmap and vector font rendering. 20
  • 21. Android Architecture (Cont’d)  Android Runtime  Dalvik Virtual Machine  Provides application portability and runtime consistency.  Runs optimized file format (.dex) and Dalvik bytecode. 21
  • 22. 22
  • 23. Android Architecture (Cont’d)  Android Runtime  Core Libraries  Data structures  File Access  Graphics  Network Access  Utilities 23
  • 24. Android Architecture (Cont’d)  Applications Framework  Activity Manager  Interact with overall activities running in the system.  Manage lifecycle of activities.  Manage stacking of activities. 24
  • 25. 25
  • 26. Android Architecture (Cont’d)  Applications Framework  Window Manager  Dispatch input events to clients.  Transition animation.  Create layout/surfaces (using SurfaceManager). 26
  • 27. Android Architecture (Cont’d)  Applications Framework  Content Providers  Manage access to structured access of data.  Mainly used for data sharing purposes. 27
  • 28. 28
  • 29. Android Architecture (Cont’d)  Applications Framework  View System  Basic building block for UI components.  Can be extended to build custom UI components. 29
  • 30. Android Architecture (Cont’d)  Applications Framework  Package Manager  Provides methods for querying and manipulating installed packages. 30
  • 31. Android Architecture (Cont’d)  Applications Framework  Telephony Manager  Provides access to telephony services on android.  Can monitor telephone state changes. 31
  • 32. Android Architecture (Cont’d)  Applications Framework  Location Manager  Provide access to system location services.  Able to track location periodically or one- time. 32
  • 33. Android Architecture (Cont’d)  Applications Framework  Resource Manager  Link external resources to native app at build time.  Resources may include XML Layouts, Bitmaps, raw files etc. 33
  • 34. Android Architecture (Cont’d)  Applications Framework  Notification Manager  Notify users about events. 34
  • 35. 35