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

What's hot

Android PPT Presentation 2018
Android PPT Presentation 2018Android PPT Presentation 2018
Android PPT Presentation 2018
Rao Purna
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating System
Bilal Mirza
 
Android presentation
Android presentationAndroid presentation
Android presentation
Dipesh Shome
 
Andriod software by sk
Andriod software by skAndriod software by sk
Andriod software by sk
Shahrukh Miya
 
Android OS Presentation
Android OS PresentationAndroid OS Presentation
Android OS Presentation
Eks Dhiee ジ
 
What is Android OS in ppt ?
What is Android OS in ppt ? What is Android OS in ppt ?
What is Android OS in ppt ?
SoonTips.com
 
Android operating system
Android operating systemAndroid operating system
Android operating system
kunthekeshav
 
Android tc new ppt
Android tc new pptAndroid tc new ppt
Android tc new ppt
yash yadav
 
Android versions A to L
Android versions A to LAndroid versions A to L
Android versions A to L
Aswin Kumar
 
Android & Why Mobile Application Development
Android & Why Mobile Application DevelopmentAndroid & Why Mobile Application Development
Android & Why Mobile Application Development
Aatul Palandurkar
 
Android versions
Android versionsAndroid versions
Android versions
Manjinder
 
Android Operating System(OS)
Android Operating System(OS)Android Operating System(OS)
Android Operating System(OS)
Knowledge Center Computer
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating System
Bilal Mirza
 
Android ppt
Android pptAndroid ppt
Android ppt
Sunil Kumar
 
Android studio ppt
Android studio pptAndroid studio ppt
Android studio ppt
Swapanpreet Kaur
 
Android application development ppt
Android application development pptAndroid application development ppt
Android application development ppt
Gautam Kumar
 
Seminar report on android os
Seminar report on android osSeminar report on android os
Seminar report on android os
Appsthentic Technology
 

What's hot (20)

Android PPT Presentation 2018
Android PPT Presentation 2018Android PPT Presentation 2018
Android PPT Presentation 2018
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating System
 
Android
AndroidAndroid
Android
 
Android presentation
Android presentationAndroid presentation
Android presentation
 
Andriod software by sk
Andriod software by skAndriod software by sk
Andriod software by sk
 
Android OS Presentation
Android OS PresentationAndroid OS Presentation
Android OS Presentation
 
What is Android OS in ppt ?
What is Android OS in ppt ? What is Android OS in ppt ?
What is Android OS in ppt ?
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Android operating system
Android operating systemAndroid operating system
Android operating system
 
Android tc new ppt
Android tc new pptAndroid tc new ppt
Android tc new ppt
 
Android versions A to L
Android versions A to LAndroid versions A to L
Android versions A to L
 
Android & Why Mobile Application Development
Android & Why Mobile Application DevelopmentAndroid & Why Mobile Application Development
Android & Why Mobile Application Development
 
Android versions
Android versionsAndroid versions
Android versions
 
Android Operating System(OS)
Android Operating System(OS)Android Operating System(OS)
Android Operating System(OS)
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating System
 
Android ppt
Android pptAndroid ppt
Android ppt
 
ANDROID NEW EDITION
ANDROID NEW EDITIONANDROID NEW EDITION
ANDROID NEW EDITION
 
Android studio ppt
Android studio pptAndroid studio ppt
Android studio ppt
 
Android application development ppt
Android application development pptAndroid application development ppt
Android application development ppt
 
Seminar report on android os
Seminar report on android osSeminar report on android os
Seminar report on android os
 

Viewers also liked

Основи на Андроид
Основи на АндроидОснови на Андроид
Основи на Андроид
Georgi Mirchev
 
Основи на програмирането за андроид
Основи на програмирането за андроидОснови на програмирането за андроид
Основи на програмирането за андроид
Georgi Mirchev
 
مقدمة عن أندرويد
مقدمة عن أندرويدمقدمة عن أندرويد
مقدمة عن أندرويد
ahmed_hassan
 
Introduction to Android Animations
Introduction to Android AnimationsIntroduction to Android Animations
Introduction to Android Animations
Xamarin
 
Adobe illustrator 2 - 1
Adobe illustrator 2 - 1Adobe illustrator 2 - 1
Adobe illustrator 2 - 1
RaynaITSTEP
 
Arabic Introduction For Firefox OS
Arabic Introduction For Firefox OS Arabic Introduction For Firefox OS
Arabic Introduction For Firefox OS
mohamed Hafez
 
Introduction to Tiny OS
Introduction to Tiny OSIntroduction to Tiny OS
Introduction to Tiny OSSudharsan S
 
Android
Android Android
نظام التشغيل
نظام التشغيلنظام التشغيل
نظام التشغيل
د.فداء الشنيقات
 
أنواع نظم تشغيل الحاسب
أنواع نظم تشغيل الحاسبأنواع نظم تشغيل الحاسب
أنواع نظم تشغيل الحاسبAhmad Abdelbaqy
 
ألية استخدام الهواتف الذكية
ألية استخدام الهواتف الذكيةألية استخدام الهواتف الذكية
ألية استخدام الهواتف الذكية
Hazem Al Rekhawi
 
أنواع نظم التشغيل
أنواع نظم التشغيلأنواع نظم التشغيل
أنواع نظم التشغيلAhmad Abdelbaqy
 
انظمة التشغيل
انظمة التشغيلانظمة التشغيل
انظمة التشغيل
د.فداء الشنيقات
 
Protecting your home and office in the era of IoT
Protecting your home and office in the era of IoTProtecting your home and office in the era of IoT
Protecting your home and office in the era of IoT
Marian Marinov
 
محاضرة 3 نظام التشغيل
محاضرة 3 نظام التشغيلمحاضرة 3 نظام التشغيل
محاضرة 3 نظام التشغيل
zakaria_alathari
 
أشكال المواجهة لنظم التشغيل
أشكال المواجهة لنظم التشغيلأشكال المواجهة لنظم التشغيل
أشكال المواجهة لنظم التشغيلAhmad Abdelbaqy
 
TinyOS
TinyOSTinyOS
Abraham koopt graf Sara
Abraham koopt graf SaraAbraham koopt graf Sara
Abraham koopt graf Sara
goedbericht
 
Cinematica das Maquinas Ferramentas
Cinematica das Maquinas FerramentasCinematica das Maquinas Ferramentas
Cinematica das Maquinas Ferramentas
Juliano Aparecido de Oliveira
 
Nougat 7.0 seminar
Nougat 7.0 seminarNougat 7.0 seminar
Nougat 7.0 seminar
Ven Esh
 

Viewers also liked (20)

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

Similar to Android introduction

Getting Started with Android - OSSPAC 2009
Getting Started with Android - OSSPAC 2009Getting Started with Android - OSSPAC 2009
Getting Started with Android - OSSPAC 2009
sullis
 
Introduction to Android - Mobile Fest Singapore 2009
Introduction to Android - Mobile Fest Singapore 2009Introduction to Android - Mobile Fest Singapore 2009
Introduction to Android - Mobile Fest Singapore 2009
sullis
 
Mobile application and Game development
Mobile application and Game developmentMobile application and Game development
Mobile application and Game development
Women In Digital
 
Synapseindia android apps application
Synapseindia android apps applicationSynapseindia android apps application
Synapseindia android apps application
Synapseindiappsdevelopment
 
Applico Android Info Session at Columbia University
Applico Android Info Session at Columbia UniversityApplico Android Info Session at Columbia University
Applico Android Info Session at Columbia UniversityApplico
 
Android
AndroidAndroid
I phone app develoment ppt
I phone app develoment   pptI phone app develoment   ppt
I phone app develoment pptsagaroceanic11
 
I phone app develoment ppt
I phone app develoment   pptI phone app develoment   ppt
I phone app develoment pptsagaroceanic11
 
Android Stsucture
Android StsuctureAndroid Stsucture
Android Stsucture
Kartik Kalpande Patil
 
Getting Started with Android Development
Getting Started with Android DevelopmentGetting Started with Android Development
Getting Started with Android Development
Edureka!
 
Droidcon Turin 2015 - Android wear sdk introduction
Droidcon Turin 2015 - Android wear sdk introductionDroidcon Turin 2015 - Android wear sdk introduction
Droidcon Turin 2015 - Android wear sdk introduction
Michelantonio Trizio
 
Android wear SDK introduction
Android wear SDK introductionAndroid wear SDK introduction
Android wear SDK introduction
Tiziano Basile
 
Overview of Android
Overview of AndroidOverview of Android
Overview of Android
Vicky Kumar
 
Getting started with PhoneGap
Getting started with PhoneGapGetting started with PhoneGap
Getting started with PhoneGap
Patrick van Kouteren
 
SmartPhone Design and Delivery
SmartPhone Design and DeliverySmartPhone Design and Delivery
SmartPhone Design and Delivery
Jason Diehl
 
Build your cross-platform service in a week with App Engine
Build your cross-platform service in a week with App EngineBuild your cross-platform service in a week with App Engine
Build your cross-platform service in a week with App Engine
Jl_Ugia
 
iPhone App Development
iPhone App Development iPhone App Development
iPhone App Development
ManekTech
 
Mobile app development
Mobile app developmentMobile app development
Mobile app development
ManekTech
 
Swift Development
Swift DevelopmentSwift Development
Swift Development
ManekTech
 
Build your own remote control. Droidcon greece 2016
Build your own remote control. Droidcon greece 2016Build your own remote control. Droidcon greece 2016
Build your own remote control. Droidcon greece 2016
Jesus Gumiel
 

Similar to Android introduction (20)

Getting Started with Android - OSSPAC 2009
Getting Started with Android - OSSPAC 2009Getting Started with Android - OSSPAC 2009
Getting Started with Android - OSSPAC 2009
 
Introduction to Android - Mobile Fest Singapore 2009
Introduction to Android - Mobile Fest Singapore 2009Introduction to Android - Mobile Fest Singapore 2009
Introduction to Android - Mobile Fest Singapore 2009
 
Mobile application and Game development
Mobile application and Game developmentMobile application and Game development
Mobile application and Game development
 
Synapseindia android apps application
Synapseindia android apps applicationSynapseindia android apps application
Synapseindia android apps application
 
Applico Android Info Session at Columbia University
Applico Android Info Session at Columbia UniversityApplico Android Info Session at Columbia University
Applico Android Info Session at Columbia University
 
Android
AndroidAndroid
Android
 
I phone app develoment ppt
I phone app develoment   pptI phone app develoment   ppt
I phone app develoment ppt
 
I phone app develoment ppt
I phone app develoment   pptI phone app develoment   ppt
I phone app develoment ppt
 
Android Stsucture
Android StsuctureAndroid Stsucture
Android Stsucture
 
Getting Started with Android Development
Getting Started with Android DevelopmentGetting Started with Android Development
Getting Started with Android Development
 
Droidcon Turin 2015 - Android wear sdk introduction
Droidcon Turin 2015 - Android wear sdk introductionDroidcon Turin 2015 - Android wear sdk introduction
Droidcon Turin 2015 - Android wear sdk introduction
 
Android wear SDK introduction
Android wear SDK introductionAndroid wear SDK introduction
Android wear SDK introduction
 
Overview of Android
Overview of AndroidOverview of Android
Overview of Android
 
Getting started with PhoneGap
Getting started with PhoneGapGetting started with PhoneGap
Getting started with PhoneGap
 
SmartPhone Design and Delivery
SmartPhone Design and DeliverySmartPhone Design and Delivery
SmartPhone Design and Delivery
 
Build your cross-platform service in a week with App Engine
Build your cross-platform service in a week with App EngineBuild your cross-platform service in a week with App Engine
Build your cross-platform service in a week with App Engine
 
iPhone App Development
iPhone App Development iPhone App Development
iPhone App Development
 
Mobile app development
Mobile app developmentMobile app development
Mobile app development
 
Swift Development
Swift DevelopmentSwift Development
Swift Development
 
Build your own remote control. Droidcon greece 2016
Build your own remote control. Droidcon greece 2016Build your own remote control. Droidcon greece 2016
Build your own remote control. Droidcon greece 2016
 

More from RaynaITSTEP

Project management professional
Project management professionalProject management professional
Project management professional
RaynaITSTEP
 
Project management it step
Project management it stepProject management it step
Project management it step
RaynaITSTEP
 
Lean startup
Lean startupLean startup
Lean startup
RaynaITSTEP
 
РАБОТА С ОБЕКТА „ЗАЯВКА“ (2)
РАБОТА С ОБЕКТА „ЗАЯВКА“ (2)РАБОТА С ОБЕКТА „ЗАЯВКА“ (2)
РАБОТА С ОБЕКТА „ЗАЯВКА“ (2)
RaynaITSTEP
 
DBT_3
DBT_3DBT_3
DBT_2
DBT_2DBT_2
DBT_1
DBT_1DBT_1
monitoring and diagnostics
monitoring and diagnosticsmonitoring and diagnostics
monitoring and diagnostics
RaynaITSTEP
 
network security
network securitynetwork security
network security
RaynaITSTEP
 
networking
networkingnetworking
networking
RaynaITSTEP
 
data security
data securitydata security
data security
RaynaITSTEP
 
configuring disk sand drivers
configuring disk sand driversconfiguring disk sand drivers
configuring disk sand drivers
RaynaITSTEP
 
boot process
boot process  boot process
boot process
RaynaITSTEP
 
install update and migration to windows 10
install update and migration to windows 10install update and migration to windows 10
install update and migration to windows 10
RaynaITSTEP
 
virtualization
virtualizationvirtualization
virtualization
RaynaITSTEP
 
Фотошоп за деца_4
Фотошоп за деца_4Фотошоп за деца_4
Фотошоп за деца_4
RaynaITSTEP
 
Структурни кабелни системи
Структурни кабелни системиСтруктурни кабелни системи
Структурни кабелни системи
RaynaITSTEP
 
Adobe Illustrator - Урок 2
Adobe Illustrator - Урок 2Adobe Illustrator - Урок 2
Adobe Illustrator - Урок 2
RaynaITSTEP
 
Adobe Illustrator - Обобщение
Adobe Illustrator - ОбобщениеAdobe Illustrator - Обобщение
Adobe Illustrator - Обобщение
RaynaITSTEP
 
Урок 1_Прозрачност
Урок 1_ПрозрачностУрок 1_Прозрачност
Урок 1_Прозрачност
RaynaITSTEP
 

More from RaynaITSTEP (20)

Project management professional
Project management professionalProject management professional
Project management professional
 
Project management it step
Project management it stepProject management it step
Project management it step
 
Lean startup
Lean startupLean startup
Lean startup
 
РАБОТА С ОБЕКТА „ЗАЯВКА“ (2)
РАБОТА С ОБЕКТА „ЗАЯВКА“ (2)РАБОТА С ОБЕКТА „ЗАЯВКА“ (2)
РАБОТА С ОБЕКТА „ЗАЯВКА“ (2)
 
DBT_3
DBT_3DBT_3
DBT_3
 
DBT_2
DBT_2DBT_2
DBT_2
 
DBT_1
DBT_1DBT_1
DBT_1
 
monitoring and diagnostics
monitoring and diagnosticsmonitoring and diagnostics
monitoring and diagnostics
 
network security
network securitynetwork security
network security
 
networking
networkingnetworking
networking
 
data security
data securitydata security
data security
 
configuring disk sand drivers
configuring disk sand driversconfiguring disk sand drivers
configuring disk sand drivers
 
boot process
boot process  boot process
boot process
 
install update and migration to windows 10
install update and migration to windows 10install update and migration to windows 10
install update and migration to windows 10
 
virtualization
virtualizationvirtualization
virtualization
 
Фотошоп за деца_4
Фотошоп за деца_4Фотошоп за деца_4
Фотошоп за деца_4
 
Структурни кабелни системи
Структурни кабелни системиСтруктурни кабелни системи
Структурни кабелни системи
 
Adobe Illustrator - Урок 2
Adobe Illustrator - Урок 2Adobe Illustrator - Урок 2
Adobe Illustrator - Урок 2
 
Adobe Illustrator - Обобщение
Adobe Illustrator - ОбобщениеAdobe Illustrator - Обобщение
Adobe Illustrator - Обобщение
 
Урок 1_Прозрачност
Урок 1_ПрозрачностУрок 1_Прозрачност
Урок 1_Прозрачност
 

Recently uploaded

Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 

Recently uploaded (20)

Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 

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: