• What is Android?
• Android Versions
• Android Architecture
• Application building blocks
• Development tools
• Hello Android Example
• Application Lifecycle
• Android Layouts
What Is Android?
• Android is an Open software platform for
• Android is an Linux-based operating system.
• Fast application development in Java
• A complete stack – OS, Middleware,
• Its initially developed by Android,Inc., which
Google backed financially.
There are 17 API till now.
The Android 1st version is 1.0 and this family is
known as Alpha.
The latest version of Android is 4.4
which is known as Kit-Kat.
Android LASSI /LADDO
It is based on Indian dishes
• C/C++ libraries
• Interface through Java
• Surface manager – Handling UI Windows
• 2D and 3D graphics
• Media codecs, SQLite, Browser engine
• Dalvik VM
– Dex files
– Compact and efficient than class files
– Limited memory and battery power
• Core Libraries
– Java 5 Std edition
– Collections, I/O etc…
Application Building Blocks
• Represents the presentation layer of an
Android application, e.g. a screen which the
user sees. An Android application can have
several activities and it can be switched
between them during runtime of the
application. But, they can:
– Be faceless
– Be in a floating window
– Return a value
• Think of Intents as a verb and object; a
description of what you want done
– E.g. VIEW, CALL, PLAY etc..
• System matches Intent with Activity that can
best provide the service
• Activities and Intent Receivers describe what
Intents they can service
Client component makes a
request for a specific
System picks best
component for that action
New components can use
• Faceless components that run in the
– E.g. music player, network download etc…
• Enables sharing of data across applications
– E.g. address book, photo gallery
• Provides uniform APIs for:
– delete, update and insert.
• Content is represented by URI and MIME type
• Android SDK 1.0-2.0
• 1GB RAM,20GB HARD DISK,I/O devices etc
• QEMU-based ARM emulator
• Runs the same image as the
– No Camera support
• Android is a open source so there is no
requirement of any type of instrument to
make a application it’s a free of cost.
• Android is more reliable and it provide the
facility to the programmer to connect one
activity to the another activity
• Beginning Android by Mark L.Murphy
• Android Application development by Wei-
• Professional Android development by Reto