Introduction to AndroidAfter this section you will... Identify unique features of android platform Compare android against other platforms Understand android building blocks
WE’RE COVERINGTOOLS 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 mobileplatformsoftware stack than includes •operating system •Middleware •key applications •rich set of APIs
Is android linux ?android is based on a linux kernel but its not GNU/Linux
so is android java ?● uses the java language● implements part of the Java5 SE specification● runs on a dalvik virtual machine instead ofJVM android is not an implementation of any of theJava variants
Android linux kernelAndroid is based on a linux 2.6 kernel, providing •Security •Memory management •Process management •Network stack •Driver model •abstraction layer
THE APP Emulator!
What You’ll Need
APPLICATION BUILDING BLOCKS • UI Component Typically Activity Corresponding to one screen. • Responds to notifications or statusIntentReceiver changes. Can wake up your process. • Faceless task that runs in the Service background.ContentProvider • Enable applications to share data.
APPLICATION REPLACING & REUSINGClient component makes a request System picks the best component Components can action. a specific be replaced at for for that action. any time.