3. Course Overview
• Course name : Android Training
• Hours: 90 hrs
• What you will have:
– Pre and post evaluation test.
– Android Training Book.
– Android app development skills.
• How you will participate:
– Team work projects(2-3 members)
– Assignments and presentations
Open source Training (Android Course)
March 29, 2012
Adham Enaya
4. What is Android ?
• Android is a software stack for mobile devices
that includes an operating
system, middleware and key applications.
• The Android SDK provides the tools and APIs
necessary to begin developing applications on
the Android platform using the Java.
• Originally developed by Andy Rubin & Rich
Miner (Android Inc.).
• Acquisitioned by Google in August 17, 2005.
Open source Training (Android Course)
March 29, 2012
Adham Enaya
5. Android versions
Version API Level Name
1.0 1
1.1 2
1.5 3 CUPCAKE
1.6 4 DONUT
2.0,2.1 5,6,7 ÉCLAIR
2.2 8 FROYO
2.3 9,10 GINGERBREAD
3.0 11,12,13 HONYCOMB
4.0 14,15 ICE CREAM SANDWITCH
Open source Training (Android Course)
March 29, 2012
Adham Enaya
6. Features of Android
• Open for manufacturer for customizations.
• No fixed hardware & software configurations.
• Storage, Connectivity, Messaging, Web
browsing, Media Support, Hardware sensors,
multi touching, multi-tasking , Flash support
(2.3).
Open source Training (Android Course)
March 29, 2012
Adham Enaya
7. Android Devices
• Smart Phones.
• Tablets.
• E-Readers devices.
• Netebooks.
• MP4 players.
• Internet TVs.
• Watches.
Open source Training (Android Course)
March 29, 2012
Adham Enaya
8. Architecture of Android
1. Linux Kernel
2. Libraries
3. Android Runtime ( Dalvik VM)
4. Application framework
5. Applications
Open source Training (Android Course)
March 29, 2012
Adham Enaya
10. Linux Kernel
• Contains the drivers for all supported
hardware.
• For example:
– Camera Driver, Wi-Fi Driver, USB,…etc.
Open source Training (Android Course)
March 29, 2012
Adham Enaya
11. Libraries
• Programming libraries(code) provides the
features of android system
• For example :
– SQLite for database storage.
– WebKit for web browsing.
Open source Training (Android Course)
March 29, 2012
Adham Enaya
12. Android Runtime
• Core libraries(Java libraries).
• Dalvik VM :
– Optimized for limit battery, memory & CPU.
– Android java application are compiled to Dalvik
executables (.dex).
– Each application runs on a separate process and
Dalvik VM instance(more secure).
Open source Training (Android Course)
March 29, 2012
Adham Enaya
13. Application framework
• APIs allow the developers to use Android
capabilities in their application.
• For example:
– Telephony Manager: makeing calls,..etc.
– Location Manager: GPS positioning, ..etc.
– View system: GUI components, events, ..etc.
Open source Training (Android Course)
March 29, 2012
Adham Enaya
14. Applications
• Contains:
– The applications come with android, for example:
Brower, SMS , contacts, dialer, …etc.
– Your own application.
– Notice that your applications and original
applications are in the same level.
Open source Training (Android Course)
March 29, 2012
Adham Enaya
15. Downloading development
environment
• Eclipse IDE(Google-supported)
– Download: http://www.eclipse.org/downloads
• Android SDK
– SDK Manager
– Android Platform
– SDK samples …etc.
– Emulator and debugger
– Download: http://developer.android.com/sdk/index.html
• Android Development Tools(ADT)
– Install plug-in: http://dl-ssl.google.com/android/eclipse
Open source Training (Android Course)
March 29, 2012
Adham Enaya
16. Configuring the development
environment
1. Installing the ADT plug-in.
2. Go to Window -> Preferences.
3. Select Android -> Set the location of android
SDK folder.
Open source Training (Android Course)
March 29, 2012
Adham Enaya
17. Android SDK & AVD Manager
• Helps to:
– Browse the installed packages.
– The available packages to install.
– To create Android virtual devices
– It is connected directly with Google servers to
install packages from them.
– You can download :
• Android platforms, documentation, samples tools..
• Third party Add-ons, i.e. Google APIs to use Google
Maps in the application.
Open source Training (Android Course)
March 29, 2012
Adham Enaya
18. Creating Android Virtual Device (AVD)
• AVD: is and emulator instance modeling the
actual device.
1. Go to window -> Android SDK and AVD
Manger.
2. Select Virtual Devices-> enter the AVD
properties:
1. Device name.
2. Target platform ( i.e. Android 2.3- level 9).
3. You can choose a specific hardware.
Open source Training (Android Course)
March 29, 2012
Adham Enaya
19. Any Question ?
Best,
Open source Training (Android Course)
March 29, 2012
Adham Enaya