foss con2011
TRANSCRIPT
Vanji! [email protected]
Introduction to Android
Identify unique features of android platform
Compare android against other platforms
Understand android building blocks
After this section you will...
WE’RE COVERING
TOOLS NEEDED (~5 MINS)
ANDROID FRAMEWORK INTRO (~5-8 MINS)
BUILDING A REAL APP (MAJORITY OF TIME)
QUESTIONS
FYI: THIS IS A LOT OF INFO! WE’RE GOING TO MOVE VERY FAST!
What is Android ?
android is the first complete, open and free mobile platform
software stack than includes•operating system•Middleware•key applications•rich set of APIs
so is android java ?
● uses the java language● implements part of the Java5 SE specification● runs on a dalvik virtual machine instead of JVM android is not an implementation of any of the Java variants
Android linux kernel
Android is based on a linux 2.6 kernel, providing•Security•Memory management•Process management•Network stack•Driver model•abstraction layer
APPLICATION BUILDING BLOCKS
• UI Component Typically Corresponding to one screen.
Activity
• Responds to notifications or status changes. Can wake up your process.
IntentReceiver
• Faceless task that runs in the background.
Service
• Enable applications to share data.ContentProvider
APPLICATION REPLACING& REUSING
Client component makes a request for a specific action.
System picks the best component for that action.
Components can be replaced at any time.