33
ANDROID HANDHELD SYSTEMS

Android Handheld Systems

Embed Size (px)

Citation preview

Page 1: Android Handheld Systems

ANDROID HANDHELD SYSTEMS

Page 2: Android Handheld Systems

ANDROID

PLATFORM

ANDROID

DEVELOPMENT

ENVIRONMENT

Page 3: Android Handheld Systems

THE ANDROID PLATFORM

Page 4: Android Handheld Systems

A multi-layered software stack for building and running mobile applications

Page 5: Android Handheld Systems

A software stack for mobile devices:OS kernel, system libraries, application frameworks & key apps.Android Software Development Kit (SDK) for creating apps.Libraries & development tools.

Page 6: Android Handheld Systems
Page 7: Android Handheld Systems
Page 8: Android Handheld Systems

SecurityMemory & process managementFile & network I/ODevice drivers

Page 9: Android Handheld Systems

Power managementAndroid shared memoryLow memory killerInter process communicationAnd much more

Page 10: Android Handheld Systems

System C library->Bionic libc

Surface Mgr.->Display management

Media Framework->Audio/ Video

Webkit->browser engine

OpenGL->Graphics engines

SQLite->Relational->database engine

Page 11: Android Handheld Systems

Two main components-> Core Java libraries-> Dalvik Virtual

Machine

Page 12: Android Handheld Systems

basic java classes -- java.*, javax.*app lifecycle -- android.*Internet/Web services -- org. *Unit testing -- junit.*

Page 13: Android Handheld Systems

App written in java compiled to Java byte code files.DX converts java byte code files to a single dex byte code file (CLASSES.DEX).

Dalvik executes DEX byte code file.

Page 14: Android Handheld Systems

Designed for resource-constrainedenvironments

<>Slower CPU<>Less RAM<>Limited battery life

Page 15: Android Handheld Systems

PACKAGE MANAGER

Keeps track of App Packages on Device.

WINDOW MANAGER

Manages the Windows comprising an App.

Page 16: Android Handheld Systems

Sub window

NotificationBar

MainWindow

Tabs

Page 17: Android Handheld Systems

Text View

Buttons

Page 18: Android Handheld Systems

Provides common user interfaceElements.e.g., icons, text entry boxes, buttons and more.

Page 19: Android Handheld Systems

Manages non- compiled resources, e.g. Strings, Graphics, and Layout files.

ACTIVITY MANAGERManages App Lifecycle and Navigation Stack.

Page 20: Android Handheld Systems

Inter Application Data Sharing.

LOCATION MANAGERProvides Location and Movement Information.

NOTIFICATION MANAGERPlace Notification Icons in the Status Bar when

important events occur.

Page 21: Android Handheld Systems

Notification

Page 22: Android Handheld Systems

Standard apps include:Home – main screenContacts – contacts databasePhone – dial phone numbersBrowser – view web pagesEmail reader –compose & read email messages.

Page 23: Android Handheld Systems

ANDROID DEVELOPMENT ENVIRONMENT

Page 24: Android Handheld Systems

Your workbench for writing Android applications

Page 25: Android Handheld Systems
Page 26: Android Handheld Systems
Page 27: Android Handheld Systems

Runs virtual devices

Can emulate many different device/ user characteristics, such as: Network speed/ latencies, Battery power, Location coordinates.

Emulate incoming phone calls & SMS messages

Can interconnect multiple emulators

Page 28: Android Handheld Systems
Page 29: Android Handheld Systems

Doesn’t require an actual phone

Hardware is reconfigurable

Changes are non-destructive

Page 30: Android Handheld Systems

Can be very

slow

Some features

unavailable e.g.,

no support for

blue tooth or

USB connections

Performance /

user experience

can be misleading

Page 31: Android Handheld Systems
Page 32: Android Handheld Systems
Page 33: Android Handheld Systems