19
Android Training By: Adham Enaya twitter : @adhamenaya fb.: adham.enaya [email protected]

Session 1 android overview

Embed Size (px)

Citation preview

Page 1: Session 1   android overview

Android Training

By: Adham Enayatwitter : @adhamenaya

fb.: [email protected]

Page 2: Session 1   android overview

Session 1: Android Overview

Sunday, March 25, 2012

Page 3: Session 1   android overview

April 12, 2023 Open source Training (Android Course) Adham Enaya

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

Page 4: Session 1   android overview

April 12, 2023 Open source Training (Android Course) Adham Enaya

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.

Page 5: Session 1   android overview

April 12, 2023 Open source Training (Android Course) Adham Enaya

Android versionsVersion 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

Page 6: Session 1   android overview

April 12, 2023 Open source Training (Android Course) Adham Enaya

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).

Page 7: Session 1   android overview

April 12, 2023

Android Devices

• Smart Phones.• Tablets.• E-Readers devices.• Netebooks.• MP4 players.• Internet TVs.• Watches.

Open source Training (Android Course) Adham Enaya

Page 8: Session 1   android overview

April 12, 2023 Open source Training (Android Course) Adham Enaya

Architecture of Android

1. Linux Kernel2. Libraries3. Android Runtime ( Dalvik VM)4. Application framework5. Applications

Page 9: Session 1   android overview

April 12, 2023 Open source Training (Android Course) Adham Enaya

Architecture of Android(Graph)

Page 10: Session 1   android overview

April 12, 2023 Open source Training (Android Course) Adham Enaya

Linux Kernel

• Contains the drivers for all supported hardware.

• For example: – Camera Driver, Wi-Fi Driver, USB,…etc.

Page 11: Session 1   android overview

April 12, 2023 Open source Training (Android Course) Adham Enaya

Libraries

• Programming libraries(code) provides the features of android system

• For example :– SQLite for database storage.– WebKit for web browsing.

Page 12: Session 1   android overview

April 12, 2023 Open source Training (Android Course) Adham Enaya

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).

Page 13: Session 1   android overview

April 12, 2023 Open source Training (Android Course) Adham Enaya

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.

Page 14: Session 1   android overview

April 12, 2023 Open source Training (Android Course) Adham Enaya

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.

Page 15: Session 1   android overview

April 12, 2023 Open source Training (Android Course) Adham Enaya

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

Page 16: Session 1   android overview

April 12, 2023 Open source Training (Android Course) Adham Enaya

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.

Page 17: Session 1   android overview

April 12, 2023 Open source Training (Android Course) Adham Enaya

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.

Page 18: Session 1   android overview

April 12, 2023 Open source Training (Android Course) Adham Enaya

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.

Page 19: Session 1   android overview

April 12, 2023 Open source Training (Android Course) Adham Enaya

Any Question ?

Best,