This is an old revision of the document!
The lecture gives an introduction to Android. It also touches upon Android architecture from a very high level, and then quickly jumps into building first Android Hello World App.
What is Android?
An open source, open platform for mobile development
All the SDK, API
, platform source is available
No licensing, no app review
Replace any system app with your own
Unified approach to application development (Apps should be able to run on different devices running Android)
Android has leading market share worldwide. Following are some recent stats over top 5 Android and iOS markets:
Android Operating System
Mobile Operating System based on Linux Kernel
Supports background processing
Provides a rich user interface library
Supports 2-D and 3-D graphics using the OpenGL standard
Access to the file system
Provides an embedded SQLite database
Since April 2009, Android versions have been developed under a codename and released according to alphabetical order:
Enables every Android app to run in its own process, with its own instance of Dalvik virtual machine (Android apps are compiled into Dalvik executables (.apk)).
Dalvik is a specialized virtual machine designed specifically for Android and optimized for battery-powered devices with limited memory and CPU.
For a fresh setup, you can simply install ADT Bundle from Google. See 'Setting up ADT Bundle' for details.
Otherwise, if you want to work on already installed Eclipse, you can follow below mentioned steps to setup Android environment:
Following commands should help you install jdk:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
If the above didn't work, check here for more details.
Building Your First App
Following are the steps to create a Hello World Project: