SlideShare a Scribd company logo
FUNDAMENTALS
ANDROID
ANDROID IS A MOBILE OPERATING SYSTEM DEVELOPED BY GOOGLE,
BASED ON THE LINUX KERNEL AND DESIGNED PRIMARILY FOR
TOUCHSCREEN MOBILE DEVICES SUCH AS SMARTPHONES AND
TABLETS.
What is Android
PLATFORM VERSIONS
Version Codename AP
I
Distribution
2.3.3 -
2.3.7
Gingerbread 10 1.0%
4.0.3 -
4.0.4
Ice Cream
Sandwich
15 1.0%
4.1.x Jelly Bean 16 3.7%
4.2.x 17 5.4%
4.3 18 1.5%
4.4 KitKat 19 20.8%
5.0 Lollipop 21 9.4%
5.1 22 23.1%
6.0 Marshmallow 23 31.3%
7.0 Nougat 24 2.4%
7.1 25 0.4%
SCREEN SIZES AND DENSITIES
ldpi mdpi tvdpi hdpi xhdpi xxhdpi Total
Small 1.1% 1.1%
Normal 2.5% 0.2% 36.1% 33.6% 16.3% 88.7%
Large 0.1% 3.7% 1.8% 0.4% 0.4% 6.4%
Xlarge 2.6% 0.6% 0.6% 3.8%
Total 1.2% 8.8% 2.0% 37.1% 34.6% 16.3%
IF YOU WANT TO GET STARTED WITH APPLICATION DEVELOPMENT, GOOGLE PROVIDES A
JAVA API TO GET STARTED AND COMPILES YOUR FILES INTO CLASSES. WHY DID ANDROID
PREFER JAVA FOR ITS DEVELOPMENT PLATFORM? THERE ARE MULTIPLE REASONS SUCH AS;
JAVA IS A COMMONLY USED LANGUAGE AND MANY PROGRAMMERS KNOW IT, IT CAN
RUN ON A VIRTUAL MACHINE (VM) SO NO NEED TO RECOMPILE FOR DIFFERENT PHONES,
BETTER SECURITY, MANY DEVELOPMENT TOOLS AVAILABLE FOR JAVA, AND JAVA IS A
KNOWN INDUSTRY LANGUAGE WITH MOST PHONES COMPATIBLE WITH IT.
	 What is Java for Android
Android is an open source,
Linux-based software stack
created for a wide array of
devices and form factors.
The following diagram shows
the major components of the
Android platform.
ANDROID
ARCHITECTURE
THE ANDROID SDK (SOFTWARE DEVELOPMENT KIT) IS A SET OF DEVELOPMENT TOOLS
USED TO DEVELOP APPLICATIONS FOR ANDROID PLATFORM. THE ANDROID SDK
INCLUDES THE FOLLOWING:
	•	REQUIRED LIBRARIES
	•	DEBUGGER
	•	AN EMULATOR
	•	RELEVANT DOCUMENTATION FOR THE ANDROID APPLICATION PROGRAM INTERFACES (APIS)
	•	SAMPLE SOURCE CODE
	•	TUTORIALS FOR THE ANDROID OS
Android SDK
ANDROID STUDIO
ART AND DALVIK ARE COMPATIBLE RUNTIMES RUNNING
DEX BYTECODE, SO APPS DEVELOPED FOR DALVIK
SHOULD WORK WHEN RUNNING WITH ART. HOWEVER,
SOME TECHNIQUES THAT WORK ON DALVIK DO NOT
WORK ON ART
	 CODE EXECUTION PROCESS. DALVIK VIRTUAL MACHINE. ART
VIRTUAL MACHINE
JAVA COMPILATION
public MainActivity() {
super();
currentPosition = 0;
}
public com.hfad.bitsandpizzas.MainActivity();
Code:
0: aload_0
1: invokespecial#5; //Method android/app/Activity."<init>":()V
4: aload_0
5: iconst_0
6: putfield #3; //Field currentPosition:I
9: return
CONVERSION TO DALVIK BYTECODES
0x0000: iput-object v1, v0, Lcom/hfad/bitsandpizzas/MainActivity; com.hfad.bitsandpizzas.MainActivity$2.this$0 //
field@4869
0x0002: invoke-direct {v0}, void java.lang.Object.<init>() // method@13682
0x0005: return-void
PUT CLASSES.DEX AND RESOURCES INTO A PACKAGE FILE
The classes.dex file and the resources from your application, such as images and layouts, are then
compressed into a zip-like file called an Android Package or .apk file. This is done with the Android
Asset Packaging Tool or aapt:
YOU MIGHT THEN ALSO SIGN THE .APK FILE
• NATIVE APP
• HYBRID APP

Types of Android application.
LET'S GET TO WORK
	 	 Installing the required software
for the development.
ACTIVITY LIFE CYCLE 

VIEW AND VIEW GROUP
• LINEAR LAYOUT - DISPLAYS VIEW-ELEMENTS AS A SINGLE ROW (IF IT IS HORIZONTAL) OR A
SINGLE COLUMN (IF IT IS VERTICAL).
• TABLE LAYOUT - DISPLAYS ELEMENTS IN THE FORM OF A TABLE, WITH ROWS AND COLUMNS.
• RELATIVE LAYOUT - EACH ELEMENT’S POSITION IS CONFIGURED RELATIVELY TO OTHER
ELEMENTS.
• ABSOLUTE LAYOUT - EACH ELEMENT IS SPECIFIED AN ABSOLUTE POSITION ON THE SCREEN
IN THE COORDINATE SYSTEM (X, Y)
• GRID LAYOUT - THE GRID IS COMPOSED OF A SET OF INFINITELY THIN LINES THAT SEPARATE
THE VIEWING AREA INTO CELLS.
• PERCENT LAYOUT - SUBCLASS OF RELATIVELAYOUT THAT SUPPORTS PERCENTAGE BASED
DIMENSIONS AND MARGINS. YOU CAN SPECIFY DIMENSION OR A MARGIN OF CHILD BY
USING ATTRIBUTES WITH "PERCENT" SUFFIX.
	 Layout types:

More Related Content

PPTX
Introduction to Android
PPTX
Introduction to Android ppt
PPTX
The Android Story - versions and history
PPTX
History of Android
PDF
Android Operating System (Androrid OS)
PPTX
Android Operating System Presentation Slides in Simple
PPTX
Psd andriod
PPTX
Android technology _seminar_ ppt
Introduction to Android
Introduction to Android ppt
The Android Story - versions and history
History of Android
Android Operating System (Androrid OS)
Android Operating System Presentation Slides in Simple
Psd andriod
Android technology _seminar_ ppt

What's hot (20)

PPTX
Android PPT Presentation 2018
PPTX
Android Operating System
PDF
Android
PPTX
Android presentation
PPTX
Andriod software by sk
PPTX
Android OS Presentation
PPTX
What is Android OS in ppt ?
PPT
Android ppt
PPTX
Android operating system
PPSX
Android tc new ppt
PPSX
Android versions A to L
PDF
Android & Why Mobile Application Development
PPTX
Android versions
PPTX
Android Operating System(OS)
PPTX
Android Operating System
PPTX
Android ppt
PPTX
ANDROID NEW EDITION
PPTX
Android studio ppt
PPTX
Android application development ppt
PPTX
Seminar report on android os
Android PPT Presentation 2018
Android Operating System
Android
Android presentation
Andriod software by sk
Android OS Presentation
What is Android OS in ppt ?
Android ppt
Android operating system
Android tc new ppt
Android versions A to L
Android & Why Mobile Application Development
Android versions
Android Operating System(OS)
Android Operating System
Android ppt
ANDROID NEW EDITION
Android studio ppt
Android application development ppt
Seminar report on android os
Ad

Viewers also liked (20)

PPT
Основи на Андроид
PPT
Основи на програмирането за андроид
PDF
مقدمة عن أندرويد
PDF
Introduction to Android Animations
PPTX
Adobe illustrator 2 - 1
PPTX
Arabic Introduction For Firefox OS
PPT
Introduction to Tiny OS
PDF
PPSX
نظام التشغيل
PPT
أنواع نظم تشغيل الحاسب
PDF
ألية استخدام الهواتف الذكية
PPT
أنواع نظم التشغيل
PPSX
انظمة التشغيل
PDF
Protecting your home and office in the era of IoT
PPT
محاضرة 3 نظام التشغيل
PPT
أشكال المواجهة لنظم التشغيل
PPTX
PPTX
Abraham koopt graf Sara
PDF
Cinematica das Maquinas Ferramentas
PPTX
Nougat 7.0 seminar
Основи на Андроид
Основи на програмирането за андроид
مقدمة عن أندرويد
Introduction to Android Animations
Adobe illustrator 2 - 1
Arabic Introduction For Firefox OS
Introduction to Tiny OS
نظام التشغيل
أنواع نظم تشغيل الحاسب
ألية استخدام الهواتف الذكية
أنواع نظم التشغيل
انظمة التشغيل
Protecting your home and office in the era of IoT
محاضرة 3 نظام التشغيل
أشكال المواجهة لنظم التشغيل
Abraham koopt graf Sara
Cinematica das Maquinas Ferramentas
Nougat 7.0 seminar
Ad

Similar to Android introduction (20)

PDF
Getting Started with Android - OSSPAC 2009
PDF
Introduction to Android - Mobile Fest Singapore 2009
PDF
Mobile application and Game development
PPT
Synapseindia android apps application
PPTX
Applico Android Info Session at Columbia University
PPTX
PPTX
Chapter 1- Mobile Application Development Introduction-java.pptx
PPT
I phone app develoment ppt
PPT
I phone app develoment ppt
PPT
Android Stsucture
PDF
Getting Started with Android Development
PDF
Droidcon Turin 2015 - Android wear sdk introduction
PDF
Android wear SDK introduction
PPTX
Overview of Android
PPTX
Getting started with PhoneGap
PPTX
SmartPhone Design and Delivery
PDF
Build your cross-platform service in a week with App Engine
PDF
iPhone App Development
PDF
Mobile app development
PDF
Swift Development
Getting Started with Android - OSSPAC 2009
Introduction to Android - Mobile Fest Singapore 2009
Mobile application and Game development
Synapseindia android apps application
Applico Android Info Session at Columbia University
Chapter 1- Mobile Application Development Introduction-java.pptx
I phone app develoment ppt
I phone app develoment ppt
Android Stsucture
Getting Started with Android Development
Droidcon Turin 2015 - Android wear sdk introduction
Android wear SDK introduction
Overview of Android
Getting started with PhoneGap
SmartPhone Design and Delivery
Build your cross-platform service in a week with App Engine
iPhone App Development
Mobile app development
Swift Development

More from RaynaITSTEP (20)

PPTX
Project management professional
PDF
Project management it step
PPT
Lean startup
PPTX
РАБОТА С ОБЕКТА „ЗАЯВКА“ (2)
PPTX
PPTX
PPTX
PDF
monitoring and diagnostics
PDF
network security
PDF
networking
PDF
data security
PDF
configuring disk sand drivers
PDF
boot process
PDF
install update and migration to windows 10
PDF
virtualization
PPTX
Фотошоп за деца_4
PDF
Структурни кабелни системи
PPTX
Adobe Illustrator - Урок 2
PPTX
Adobe Illustrator - Обобщение
PPSX
Урок 1_Прозрачност
Project management professional
Project management it step
Lean startup
РАБОТА С ОБЕКТА „ЗАЯВКА“ (2)
monitoring and diagnostics
network security
networking
data security
configuring disk sand drivers
boot process
install update and migration to windows 10
virtualization
Фотошоп за деца_4
Структурни кабелни системи
Adobe Illustrator - Урок 2
Adobe Illustrator - Обобщение
Урок 1_Прозрачност

Recently uploaded (20)

PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Cloud computing and distributed systems.
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Empathic Computing: Creating Shared Understanding
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Encapsulation theory and applications.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
“AI and Expert System Decision Support & Business Intelligence Systems”
Programs and apps: productivity, graphics, security and other tools
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Cloud computing and distributed systems.
sap open course for s4hana steps from ECC to s4
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
The AUB Centre for AI in Media Proposal.docx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Empathic Computing: Creating Shared Understanding
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Per capita expenditure prediction using model stacking based on satellite ima...
Review of recent advances in non-invasive hemoglobin estimation
Spectral efficient network and resource selection model in 5G networks
Encapsulation theory and applications.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Encapsulation_ Review paper, used for researhc scholars
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation

Android introduction

  • 2. ANDROID IS A MOBILE OPERATING SYSTEM DEVELOPED BY GOOGLE, BASED ON THE LINUX KERNEL AND DESIGNED PRIMARILY FOR TOUCHSCREEN MOBILE DEVICES SUCH AS SMARTPHONES AND TABLETS. What is Android
  • 3. PLATFORM VERSIONS Version Codename AP I Distribution 2.3.3 - 2.3.7 Gingerbread 10 1.0% 4.0.3 - 4.0.4 Ice Cream Sandwich 15 1.0% 4.1.x Jelly Bean 16 3.7% 4.2.x 17 5.4% 4.3 18 1.5% 4.4 KitKat 19 20.8% 5.0 Lollipop 21 9.4% 5.1 22 23.1% 6.0 Marshmallow 23 31.3% 7.0 Nougat 24 2.4% 7.1 25 0.4%
  • 4. SCREEN SIZES AND DENSITIES ldpi mdpi tvdpi hdpi xhdpi xxhdpi Total Small 1.1% 1.1% Normal 2.5% 0.2% 36.1% 33.6% 16.3% 88.7% Large 0.1% 3.7% 1.8% 0.4% 0.4% 6.4% Xlarge 2.6% 0.6% 0.6% 3.8% Total 1.2% 8.8% 2.0% 37.1% 34.6% 16.3%
  • 5. IF YOU WANT TO GET STARTED WITH APPLICATION DEVELOPMENT, GOOGLE PROVIDES A JAVA API TO GET STARTED AND COMPILES YOUR FILES INTO CLASSES. WHY DID ANDROID PREFER JAVA FOR ITS DEVELOPMENT PLATFORM? THERE ARE MULTIPLE REASONS SUCH AS; JAVA IS A COMMONLY USED LANGUAGE AND MANY PROGRAMMERS KNOW IT, IT CAN RUN ON A VIRTUAL MACHINE (VM) SO NO NEED TO RECOMPILE FOR DIFFERENT PHONES, BETTER SECURITY, MANY DEVELOPMENT TOOLS AVAILABLE FOR JAVA, AND JAVA IS A KNOWN INDUSTRY LANGUAGE WITH MOST PHONES COMPATIBLE WITH IT. What is Java for Android
  • 6. Android is an open source, Linux-based software stack created for a wide array of devices and form factors. The following diagram shows the major components of the Android platform. ANDROID ARCHITECTURE
  • 7. THE ANDROID SDK (SOFTWARE DEVELOPMENT KIT) IS A SET OF DEVELOPMENT TOOLS USED TO DEVELOP APPLICATIONS FOR ANDROID PLATFORM. THE ANDROID SDK INCLUDES THE FOLLOWING: • REQUIRED LIBRARIES • DEBUGGER • AN EMULATOR • RELEVANT DOCUMENTATION FOR THE ANDROID APPLICATION PROGRAM INTERFACES (APIS) • SAMPLE SOURCE CODE • TUTORIALS FOR THE ANDROID OS Android SDK
  • 9. ART AND DALVIK ARE COMPATIBLE RUNTIMES RUNNING DEX BYTECODE, SO APPS DEVELOPED FOR DALVIK SHOULD WORK WHEN RUNNING WITH ART. HOWEVER, SOME TECHNIQUES THAT WORK ON DALVIK DO NOT WORK ON ART CODE EXECUTION PROCESS. DALVIK VIRTUAL MACHINE. ART VIRTUAL MACHINE
  • 10. JAVA COMPILATION public MainActivity() { super(); currentPosition = 0; } public com.hfad.bitsandpizzas.MainActivity(); Code: 0: aload_0 1: invokespecial#5; //Method android/app/Activity."<init>":()V 4: aload_0 5: iconst_0 6: putfield #3; //Field currentPosition:I 9: return
  • 11. CONVERSION TO DALVIK BYTECODES 0x0000: iput-object v1, v0, Lcom/hfad/bitsandpizzas/MainActivity; com.hfad.bitsandpizzas.MainActivity$2.this$0 // field@4869 0x0002: invoke-direct {v0}, void java.lang.Object.<init>() // method@13682 0x0005: return-void
  • 12. PUT CLASSES.DEX AND RESOURCES INTO A PACKAGE FILE The classes.dex file and the resources from your application, such as images and layouts, are then compressed into a zip-like file called an Android Package or .apk file. This is done with the Android Asset Packaging Tool or aapt:
  • 13. YOU MIGHT THEN ALSO SIGN THE .APK FILE
  • 14. • NATIVE APP • HYBRID APP
 Types of Android application.
  • 15. LET'S GET TO WORK Installing the required software for the development.
  • 17. VIEW AND VIEW GROUP
  • 18. • LINEAR LAYOUT - DISPLAYS VIEW-ELEMENTS AS A SINGLE ROW (IF IT IS HORIZONTAL) OR A SINGLE COLUMN (IF IT IS VERTICAL). • TABLE LAYOUT - DISPLAYS ELEMENTS IN THE FORM OF A TABLE, WITH ROWS AND COLUMNS. • RELATIVE LAYOUT - EACH ELEMENT’S POSITION IS CONFIGURED RELATIVELY TO OTHER ELEMENTS. • ABSOLUTE LAYOUT - EACH ELEMENT IS SPECIFIED AN ABSOLUTE POSITION ON THE SCREEN IN THE COORDINATE SYSTEM (X, Y) • GRID LAYOUT - THE GRID IS COMPOSED OF A SET OF INFINITELY THIN LINES THAT SEPARATE THE VIEWING AREA INTO CELLS. • PERCENT LAYOUT - SUBCLASS OF RELATIVELAYOUT THAT SUPPORTS PERCENTAGE BASED DIMENSIONS AND MARGINS. YOU CAN SPECIFY DIMENSION OR A MARGIN OF CHILD BY USING ATTRIBUTES WITH "PERCENT" SUFFIX. Layout types: