01. Introduction of Android
Goal
• Understand the concepts and features of the Android
• Install the complete Android development environment
• Find out the one-click install Android development environment
1. Android Overview ▶ Smartphone Overview
The role of the computer beyond the call feature + Advantages and features of Mobile Device
Smartphone History
1992. IBM's Simon
1996. Nokia 9000
2002. Microsoft Pocket PC
2007. iPhone
2008. Android Phone
2010. Windows Phone7
1. Android Overview ▶ Smartphone OS
In 2012 the global market share
: Android Phone 59%, iPhone 23%, Windows Phone 2%
Android iOS Windows Phone
Development of language
JAVA, C or C++
(Screen Disirn : XML) Objective C C#, VB.NET
Development
of the OS Windows, Linux, Max OS Mac OS Windows Vista/7/8 Development
Tools Eclipse Xcode Visual Studio 2010 or later
Support device
Android Phone,
Android Tablet iPhone, iPad, iPod Windows Phone, Surface Representativ
e products Galaxy Series iPhone Series Nokia Lumia 710 Latest
development
Ice Cream Sandwich,
Jelly Bean iOS 5,6 Windows Phone 7,5(Mango),
Windows Phone 8(Apollo) App Store Google Play,
Samsung Apps… Apple Appstore Windows Market
Comparison of smartphone operating system development environment
1. Android Overview ▶ History of Android(1/2)
History of Android Code
Image Code
Name Version API Level
Date of
announcement Remark
Alpha 1.0 1 2008.09 • First announced in September 2008
Beta 1.1 2 2009.02
• Modify the existing problems
• API Changes
• Modify the call feature
Cupcake 1.5 3 2009.04 • Video Recording, Soft Keyboard support, Bluetooth support, animation effects
Donut 1.6 4 2009.09
• Android Market improvements,
WVGA resolution support, gallery interface, multi-select/delete support
Éclair 2.1 7 2010.01
• H/W optimization, many Supports resolutions, Google maps improved, improved virtual
1. Android Overview ▶ History of Android(1/2)
History of Android Code
Image Code Name Version API Level
Date of
announcement Remark
Gingerbread 2.3 10 2010.12
• UI performance improvements, internet phone, enhanced application management,
variety of sensors supported Honeycomb
3.0 3.1 3.2
11 12 13
2011.02 2011.05 2011.07
• Optimize Tablet PC
Ice Cream Sandwich
4.0 4.0.3
14 15
2011.10 2011.11
• Gingerbread and Honeycomb integration
• Support with smartphones and tablets
Jelly Bean 4.1 4.2
16 17
2012.06 2012.11
• Ice Cream Sandwich-based
• Faster and smoother screen, a wide range of accessories support
1. Android Overview ▶ main features of Android
Through the application framework API that provides efficient and fast development of applications by
reusing code
By optimizing the representation of 2D graphics and 3D graphics
Provides SQLite for Mobile database
Supported various audio, video and image format
Well supported hardware embedded in mobile devices
Provides a powerful/rapid development environment
1. Android Overview ▶ Android Features
Core Kernel of Android is Composed of Linux
There is no problem to create Android applications without any knowledge of Linux usage
Android application development language is using the Java language.
NDK for producing a high level of applications are developed in C, C + + based.
Android SDK includes many libraries
Development ease
Open-source-oriented
Related documentation, development tools, and pretty
much everything from the operating system can be used as a free
Provide ongoing upgrades
1. Android Overview ▶ Android OS Structure
Applications
Application Framework
Libraries Android Runtime
Linux Kernel
2. Overview of the Android development environment ▶
Development of the operating system Windows, Linux, Mac
Windows 32bit, 64bit, both to develop
Android development for the Windows OS
• PC for
Windows XP, Windows Vista, Windows 7, Windows 8
• Server for
Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012
Does not matter whether the service pack is installed
2. Overview of the Android development environment ▶
Development environment configurationEclipse Android
SDK
Add API
Output to the screen Coding&
Modified
Results confirm AVD created
3. Android development environment to build ▶ Development environment to build the order
Install JDK 7
Android SDK and API installation
Eclipse Download and Unzip
In Eclipse
Installation
Created the AVD(Android Virtual Device)
Android App Development Set the path to the Android SDK
In the Eclipse
JDK Download
(http://www.oracle.com/technetwork/java/index.html)and Installation
JRE installed. JavaFX is not installed.
[Practice1-1] JDK7 Installation
3. Android development environment to build
▶ JDK installation
SDK download(http://developer.android.com/sdk )
Change the path to be installed
[Practice1-2] Installation Android SDK, API(1/2)
3. Android development environment to build
▶ Android SDK installation
When install additional API, choice the platform
[Practice1-2] Installation Android SDK, API(2/2)
3. Android development environment to build
▶ Android SDK installation
Eclipse download
(http://www.eclipse.org/downloads/packages/release/indigo/sr2 )
Unzip
[Practice1-3] Eclipse download and setup (1/3)
3. Android development environment to build
▶ Eclipse installation and setup
Set the number of rows to show : Menu [Window] >[Preferences]
[Practice1-3] Eclipse download and setup (2/3)
3. Android development environment to build
▶ Eclipse installation and setup
Continue to use screen running the Eclipse
[Practice1-3] Eclipse download and setup (3/3)
3. Android development environment to build
▶ Eclipse installation and setup
Menu, [Help] > [Install Software]
Location : http://dl-ssl.google.com/android/eclipse
[Practice1-4] To install ADT on Eclipse
3. Android development environment to build
▶ Eclipse installation and setup
Menu [Window] > [Preferences]
[Practice1-5] Set path to the Android SDK in the Eclipse
3. Android development environment to build
▶ Eclipse installation and setup
Development of the 90% is the same without Android Phone
Menu [Window] > [AVD Manage] Add
[Practice1-6] AVD created for development testing (1/2)
3. Android development environment to build
▶ AVD created
AVD running, then the language is set
3. Android development environment to build ▶ AVD created
[Practice1-6] AVD created for development testing (2/2)
Summary
1. Android Version
Cupcake(1.5) ▶▶ Donut(1.6) ▶▶ Eclair(2.1) ▶▶ Froyo(2.2) ▶▶
Gingerbread(2.3.x) ▶▶ Honeycomb(3.x) ▶▶ IceCream Sandwich(4.0.x)
▶▶ Jelly Bean(4.1)
2. Android development environment configuration
Eclipse Android
SDK Add API
Output to the screen Coding&
Modified
AVD created