The document discusses Android operating system architecture. It describes Android's layers from the bottom up, including the Linux kernel, libraries, Dalvik Virtual Machine, application framework, and applications. Key points are that Android is open source, based on Linux, uses Java programming, and each app runs in its own process using the Dalvik VM.
7. ο Android Or iOS ?!
ο Remember we will answer this question at the end of
this session.
8. ο Android is an operating system based on the Linux
kernel, and designed primarily for touch screen mobile
devices such as smart phones and tablet computers.
Initially developed by Android, Inc., which Google
backed financially and later bought in 2005.
ο Android is
ο Open Source
ο Available Resources
ο Easy to Learn
9. ο An operating system (OS) is a collection of software
that manages computer hardware resources and
provides common services for computer programs. The
operating system is an essential component of the
system software in a computer system. Application
programs usually require an operating system to
function.
10.
11. ο This provides basic system functionality like process
management, memory management, device
management like camera, keypad, display etc. Also,
the kernel handles all the things that Linux is really
good at such as networking and a vast array of device
drivers, which take the pain out of interfacing to
peripheral hardware.
12. ο On top of Linux kernel there is a set of libraries
including open-source Web browser engine WebKit,
well known library libc, SQLite database which is a
useful repository for storage and sharing of application
data, libraries to play and record audio and video, SSL
libraries responsible for Internet security etc.
13. ο This is the third section of the architecture and available on the
second layer from the bottom. This section provides a key
component called Dalvik Virtual Machine which is a kind of Java
Virtual Machine specially designed and optimized for Android.
ο The Dalvik VM makes use of Linux core features like memory
management and multi-threading, which is intrinsic in the Java
language. The Dalvik VM enables every Android application to
run in its own process, with its own instance of the Dalvik virtual
machine.
ο The Android runtime also provides a set of core libraries which
enable Android application developers to write Android
applications using standard Java programming language.
14. ο The Application Framework layer provides many
higher-level services to applications in the form of Java
classes. Application developers are allowed to make
use of these services in their applications.
15. ο You will find all the Android application at the top
layer. You will write your application to be installed on
this layer only. Examples of such applications are
Contacts Books, Browser, Games etc.
17. ο Classes & Files
ο Main
ο ArrayList
ο Syso
ο OOP
ο Garbage Collector
ο Instance and Class methods
18. ο Extends mean that the class is an extention of another
class and inherits all of it's attributes, properties, and
methods.
ο Implements means that it takes on the designated
behavior that the interface specifies. Consider the
following interface:
19. ο Extends is for extending a class.
ο Implements is for implementing an interface.
ο The difference between an interface and a regular class
is that in an interface you can not specify an specific
implementation (only its "interface").
ο More specific, this means you can only specify methods,
but not implement them.