0% found this document useful (0 votes)
5 views

01.0 Introduction to Android

The document provides an introduction to Android development, covering the Android ecosystem, platform architecture, and app fundamentals. It highlights the Android operating system's features, development tools like Android Studio, and challenges developers face, such as compatibility and security. Additionally, it outlines the structure of Android apps and the resources needed for development.

Uploaded by

arashhammid
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

01.0 Introduction to Android

The document provides an introduction to Android development, covering the Android ecosystem, platform architecture, and app fundamentals. It highlights the Android operating system's features, development tools like Android Studio, and challenges developers face, such as compatibility and security. Additionally, it outlines the structure of Android apps and the resources needed for development.

Uploaded by

arashhammid
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 29

Android Developer Fundamentals V2

Build your
first app
Lesson 1

Introduction This
Introduction Thiswork
workisislicensed
licensedunder
undera a
Android Developer Creative
CreativeCommons
CommonsAttribution
Attribution4.0
4.0 1
to
toAndroid
Android International
InternationalLicense
License
Fundamentals V2
1.0 Introduction to
Android

This work is licensed under a


Introduction
Android Developer Creative Commons Attribution 4.0 2
to Android International License
Fundamentals V2
Contents

● Android is an ecosystem
● Android platform architecture
● Android Versions
● Challenges of Android app development
● App fundamentals

This work is licensed under a


Introduction
Android Developer Creative Commons Attribution 4.0 3
to Android International License
Fundamentals V2
Android Ecosystem

This work is licensed under a


Introduction
Android Developer Creative Commons Attribution 4.0 4
to Android International License
Fundamentals V2
What is Android?
● Mobile operating system based on Linux kernel
● User Interface for touch screens
● Used on over 80% of all smartphones
● Powers devices such as watches, TVs, and cars
● Over 2 Million Android apps in Google Play store
● Highly customizable for devices / by vendors
● Open source

This work is licensed under a


Introduction
Android Developer Creative Commons Attribution 4.0 5
to Android International License
Fundamentals V2
Android user interaction
● Touch gestures: swiping, tapping, pinching
● Virtual keyboard for characters, numbers, and
emoji
● Support for Bluetooth, USB controllers and
peripherals

This work is licensed under a


Introduction
Android Developer Creative Commons Attribution 4.0 6
to Android International License
Fundamentals V2
Android and sensors
Sensors can discover user action and respond
● Device contents rotate as needed
● Walking adjusts position on map
● Tilting steers a virtual car or controls a physical toy
● Moving too fast disables game interactions

This work is licensed under a


Introduction
Android Developer Creative Commons Attribution 4.0 7
to Android International License
Fundamentals V2
Android home screen
● Launcher icons for apps
● Self-updating widgets for live content
● Can be multiple pages
● Folders to organize apps
● "OK Google"

This work is licensed under a


Introduction
Android Developer Creative Commons Attribution 4.0 8
to Android International License
Fundamentals V2
Android app examples

Pandora Pokemon GO Facebook


Messenger
This work is licensed under a
Introduction
Android Developer Creative Commons Attribution 4.0 9
to Android International License
Fundamentals V2
Android Software Developer Kit
(SDK)
● Development tools (debugger, monitors, editors)
● Libraries (maps, wearables)
● Virtual devices (emulators)
● Documentation (developers.android.com)
● Sample code

This work is licensed under a


Introduction
Android Developer Creative Commons Attribution 4.0 10
to Android International License
Fundamentals V2
Android Studio
● Official Android IDE
● Develop, run, debug,
test, and package apps
● Monitors and
performance tools
● Virtual devices
● Project views
● Visual layout editor

This work is licensed under a


Introduction
Android Developer Creative Commons Attribution 4.0 11
to Android International License
Fundamentals V2
Google Play store
Publish apps through Google Play store:
● Official app store for Android
● Digital distribution service operated by Google

This work is licensed under a


Introduction
Android Developer Creative Commons Attribution 4.0 12
to Android International License
Fundamentals V2
Android Platform
Architecture

This work is licensed under a


Introduction
Android Developer Creative Commons Attribution 4.0 13
to Android International License
Fundamentals V2
Android stack

1. System and user apps


2. Android OS API in
Java framework
3. Expose native APIs;
run apps
4. Expose device
hardware capabilities
5. Linux Kernel

This work is licensed under a


Introduction
Android Developer Creative Commons Attribution 4.0 14
to Android International License
Fundamentals V2
System and user apps
● System apps have no special status
● System apps provide key capabilities to app
developers

Example:
Your app can use a system app to deliver a SMS
message.
This work is licensed under a
Introduction
Android Developer Creative Commons Attribution 4.0 15
to Android International License
Fundamentals V2
Java API Framework
The entire feature-set of the Android OS is available
to you through APIs written in the Java language.

● View class hierarchy to create UI screens


● Notification manager
● Activity manager for life cycles and navigation

This work is licensed under a


Introduction
Android Developer Creative Commons Attribution 4.0 16
to Android International License
Fundamentals V2
Android runtime

Each app runs in its own process with its own instance
of the Android Runtime.

This work is licensed under a


Introduction
Android Developer Creative Commons Attribution 4.0 17
to Android International License
Fundamentals V2
C/C++ libraries

● Core C/C++ Libraries give access to core native


Android system components and services.

This work is licensed under a


Introduction
Android Developer Creative Commons Attribution 4.0 18
to Android International License
Fundamentals V2
Hardware Abstraction Layer
(HAL)
● Standard interfaces that expose device hardware
capabilities as libraries

Examples: Camera, bluetooth module

This work is licensed under a


Introduction
Android Developer Creative Commons Attribution 4.0 19
to Android International License
Fundamentals V2
Linux Kernel

● Threading and low-level memory management


● Security features
● Drivers

This work is licensed under a


Introduction
Android Developer Creative Commons Attribution 4.0 20
to Android International License
Fundamentals V2
Older Android versions
Codename Version Released API Level

Honeycomb 3.0 - 3.2.6 Feb 2011 11 - 13

Ice Cream Sandwich 4.0 - 4.0.4 Oct 2011 14 - 15

Jelly Bean 4.1 - 4.3.1 July 2012 16 - 18

KitKat 4.4 - 4.4.4 Oct 2013 19 - 20 Android History and


Platform Versions
Lollipop 5.0 - 5.1.1 Nov 2014 21 - 22 for more and earlier
versions before 2011
This work is licensed under a
Introduction
Android Developer Creative Commons Attribution 4.0 21
to Android International License
Fundamentals V2
Newer Android versions
Codename Version Released API Level

Marshmallow 6.0 - 6.0.1 Oct 2015 23

Nougat 7.0 - 7.1 Sept 2016 24 - 25

Oreo 8.0 - 8.1 Sept 2017 26 - 27

Pie 9.0 Aug 2018 28

This work is licensed under a


Introduction
Android Developer Creative Commons Attribution 4.0 22
to Android International License
Fundamentals V2
App Development

This work is licensed under a


Introduction
Android Developer Creative Commons Attribution 4.0 23
to Android International License
Fundamentals V2
What is an Android app?

● One or more interactive screens


● Written using Java Programming Language and
XML
● Uses the Android Software Development Kit (SDK)
● Uses Android libraries and Android Application
Framework
● Executed by Android Runtime Virtual machine
(ART) Android Developer
This work is licensed under a
Introduction
Creative Commons Attribution 4.0
to Android
International License
24
Fundamentals V2
Challenges of Android
development
● Multiple screen sizes and resolutions
● Performance: make your apps responsive and
smooth
● Security: keep source code and user data safe
● Compatibility: run well on older platform versions
● Marketing: understand the market and your users
(Hint: It doesn't have to be expensive, but it can
be.)
This work is licensed under a
Introduction
Android Developer Creative Commons Attribution 4.0 25
to Android International License
Fundamentals V2
App building blocks

● Resources: layouts, images, strings, colors as XML


and media files
● Components: activities, services, and helper
classes as Java code
● Manifest: information about app for the runtime
● Build configuration: APK versions in Gradle config
files
This work is licensed under a
Introduction
Android Developer Creative Commons Attribution 4.0 26
to Android International License
Fundamentals V2
Learn more
● Android History
● Introduction to Android
● Platform Architecture
● UI Overview
● Platform Versions
● Supporting Different Platform Versions
● Android Studio User’s Guide

This work is licensed under a


Introduction
Android Developer Creative Commons Attribution 4.0 27
to Android International License
Fundamentals V2
What's Next?

● Concept Chapter: 1.0 Introduction to Android


● No Practical

This work is licensed under a


Introduction
Android Developer Creative Commons Attribution-No 28
to Android nCommercial 4.0 International Lic
Fundamentals V2
END

This work is licensed under a


Introduction
Android Developer Creative Commons Attribution-No 29
to Android nCommercial 4.0 International Lic
Fundamentals

You might also like