Upload
others
View
0
Download
0
Embed Size (px)
Citation preview
01. Introduction of Android
Page 2
Goal
• Understand the concepts and features of the Android
• Install the complete Android development environment
• Find out the one-click install Android development environment
Page 3
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
Page 4
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
Page 5
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
keyboard, Bluetooth 2.1 support
Froyo 2.2 8 2010.05
• Overall performance improvements,
support USB tethering, update support,
Flash 10.1 support
Page 6
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
Page 7
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 through the Eclipse IDE
Page 8
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
Page 9
1. Android Overview ▶ Android OS Structure
Applications
Application Framework
Libraries Android Runtime
Linux Kernel
Page 10
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
Page 11
2. Overview of the Android development environment ▶ Development environment configuration
Eclipse Android
SDK
Add API
Output to the screen Coding&
Modified
Results confirm AVD created
Page 12
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
Page 13
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
Page 14
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
Page 15
When install additional API, choice the platform
[Practice1-2] Installation Android SDK, API(2/2)
3. Android development environment to build ▶ Android SDK installation
Page 16
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
Page 17
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
Page 18
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
Page 19
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
Page 20
Menu [Window] > [Preferences]
[Practice1-5] Set path to the Android SDK in the Eclipse
3. Android development environment to build ▶ Eclipse installation and setup
Page 21
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
Page 22
AVD running, then the language is set
3. Android development environment to build ▶ AVD created
[Practice1-6] AVD created for development testing (2/2)
Page 23
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
Results
confirm
AVD created