ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
Lecture slides introduction_introduction
Lecture slides introduction_introduction
A software stack for mobile devices:
OS kernel, system libraries, application
frameworks & key apps
Android SDK for creating apps
Libraries & development tools
Lots of documentation. Start browsing
today!
See: http://developer.android.com/
training
Lecture slides introduction_introduction
Security
Memory & process management
File & network I/O
Device drivers
Power management
Android shared memory
Low memory killer
Interprocess communication
And much more
Lecture slides introduction_introduction
System C library
Bionic libc
Surface Mgr.
Display
management
Media
Framework
Audio/ Video
Webkit
browser engine
OpenGL
Graphics engines
SQLite
Relational
database engine
Lecture slides introduction_introduction
Two main components
Core Java libraries
Dalvik Virtual Machine
basic java classes -- java.*, javax.*
app lifecycle -- android.*
Internet/Web services -- org. *
Unit testing -- junit.*
Apps are executed by the dalvik
virtual machine
App written in java
compiled to Java bytecode files
dx converts java bytecode files to a
single dex bytecode file (classes.dex)
Dalvik executes dex bytecode file
Designed for resource-constrained
environments
Slower CPU
Less RAM
Limited battery life
See:
Dalvik VM Internals by Dan Bornstein
http://www.youtube.com/watch?
v=ptjedOZEXPM
Lecture slides introduction_introduction
Keeps track of app packages on
device
Lecture slides introduction_introduction
Manages the windows comprising
an App
Main
Window
Notification
Bar
Subwindow
Provides common user interface
elements
e.g., icons, text entry boxes, buttons and
more
Tabs
TextView
Buttons
Manages non-compiled resources
e.g., strings, graphics, & layout files
Lecture slides introduction_introduction
Manages app lifecycle and
navigation stack
Lecture slides introduction_introduction
Inter-application data sharing
Lecture slides introduction_introduction
Provides location & movement
information
Lecture slides introduction_introduction
Place notification icons in the status
bar when important events occur
Lecture slides introduction_introduction
Notification
Lecture slides introduction_introduction
Standard apps include:
Home – main screen
Contacts – contacts database
Phone – dial phone numbers
Browser – view web pages
Email reader –compose & read email
messages
Nothing special about these apps
You can substitute your own or 3rd
party app for any of them
Android Development Environment

More Related Content

Lecture slides introduction_introduction