CS4521:   Mobile and Topics in Web Programming

Android Intro

 

Setup

Android SDK • http://code.google.co... 
Java Standard Development Kit (JDK) version 5.0/6.0 (download) http://www.oracle.com...    (or latest version)
If you already have installed JDK 5.0/6.0, you can skip this.
Eclipse Helios  • http://eclipse.org/dowloads  
 Eclipse ADT Plugin • https://dl-ssl.google...

 

 

What is Android?

  • is not an operating system
  • is build on top of Linux Kernel
  • is not equivalent to Linux Kernel
  • is an open source
  • devices sales 160,000+ per day (2010 numbers)

 

Android and Java

  • does not use the standard JVM
  • has its own JVM (Dalvik)
  • Android Dalvik vs standard JVM
    • register-based vs stack-based
      more efficient and compact implementation
      different set of java libraries than standard java libraries
  • cannot run standard Java bytecode on Android.
  • Android provides a tool "dx" which allows to convert Java Class files into "dex" (Dalvik Executable) files.
  • Android applications are packed into an .apk (Android Package) file by the program "aapt" (Android Asset Packaging Tool)
  • To simplify development Google provides the Android Development Tools (ADT) for Eclipse . The ADT performs automatically the conversion from class to dex files and creates the apk during deployment.

 

Android Framework Stack

 

android framework stact

 

Android SDK consists of

  • Tools
  • Docs
  • Platforms Android XX
    • Data
    • Skins
    • Images
    • Samples
  • Add-ons
    • i.e. Google API and more
 
© Lynne Grewe