924
Lectures Watched
Since January 1, 2014
Hundreds of free, self-paced university courses available:
my recommendations here
Peruse my collection of 275
influential people of the past.
View My Class Notes via:
Receive My Class Notes via E-Mail:

VIEW ARCHIVE


Contact Me via E-Mail:
edward [at] tanguay.info
Notes on video lecture:
Android Architecture
Choose from these words to fill the blanks below:
Java, tablets, classes, killer, package, OpenGL, hard, kernel, Dalvik, Binder, battery, native, network, Media, bytecode, location
•
android platform
•
software stack to support phones and               
•
has several layers software from the low-level OS              up to key apps
•
comes from SDK
•
Android Architecture
•
Linux Kernal
•
lowest layer of software
•
provides core services
•
permissions
•
memory and process management
•
file and                I/O
•
device drivers
•
Android specific services
•
power management (for increased battery power)
•
shared memory
•
low memory             
•
interprocess communication mechanism (             IPC Mechanism)
•
Libraries
•
typically written in C and C++, hence referred to as the "             libraries"
•
System C library
•
process and thread creation
•
mathematical computations
•
Surface Manager
•
updating the display
•
           Framwork
•
audio/video
•
Webkit
•
rendering web pages
•
            
•
high performance graphics
•
SQLIte
•
in memory relational databaes
•
Android Runtime
•
Core Java Libraries
•
Android applications are typically written in the Java programming language
•
basic classes
•
java.* and javax.* classes
•
app lifecycle
•
android.*
•
Internet/Web services
•
ord.*
•
unit testing
•
junit.*
•
             Virtual Machine
•
the software that actually executes Android applications
•
Android apps are written in          but they do not run on a standard Java virtual machine
•
develop first write their applications in Java
•
the compile turns it into                  files
•
tool called dx transfomed the bytecode files into               .dex
•
classes.dex is packaged with other application resources and installed on the device
•
when use launches the app, the Dalvic Virtual Machine will execute the classes.dex file
•
designed to run in resource constraained environment
•
lower CPU
•
less memory
•
limited                life
Dan Bornstein (Google) on the Dalvik Virtual Machine (2008)
•
Application Framework
•
reusable software that modbile applications need
•
               manager
•
database that keeps track of all applications installed on device
•
windows manager
•
manages windows of an app
•
system notification bar
•
main app window
•
sub windows of menus or dialogues
•
view system
•
icons
•
text entry boxes
•
buttons
•
Resource manager
•
lets you define strings in multiple languages
•
Activity Manager
•
coordinate activities
•
e.g. hit back button and go to last activity
•
Content Providers
•
inter-app data sharing
•
e.g. use contact information in a content provider
•
Location Manager
•
allows applications to receive                  and movement information
•
Notification Manager
•
software always listing for incoming notifications and put a notice in message bar
•
Applications
•
Home Screen
•
Contacts
•
none of the standard apps are         -coded into the system
Android Architecture
The Android Development Environment
Developing an Android App
The Activity Class
Fields of the Intent Class
Android Permissions
The Fragment Class