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 Page 2
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 3
1. Android Overview Smartphone OS In 2012 the global market share : Android Phone 59%, iphone 23%, Windows Phone 2% Comparison of smartphone operating system development environment Development of language Development of the OS Development Tools Support device Representativ e products Latest development App Store JAVA, C or C++ (Screen Disirn : XML) Android ios Windows Phone Objective C C#, VB.NET Windows, Linux, Max OS Mac OS Windows Vista/7/8 Eclipse Xcode Visual Studio 2010 or later Android Phone, Android Tablet iphone, ipad, ipod Windows Phone, Surface Galaxy Series iphone Series Nokia Lumia 710 Ice Cream Sandwich, Jelly Bean Google Play, Samsung Apps ios 5,6 Apple Appstore Windows Phone 7,5(Mango), Windows Phone 8(Apollo) Windows Market Page 4
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 Cupcake 1.5 3 2009.04 Donut 1.6 4 2009.09 Éclair 2.1 7 2010.01 Froyo 2.2 8 2010.05 Modify the existing problems API Changes Modify the call feature Video Recording, Soft Keyboard support, Bluetooth support, animation effects Android Market improvements, WVGA resolution support, gallery interface, multi-select/delete support H/W optimization, many Supports resolutions, Google maps improved, improved virtual keyboard, Bluetooth 2.1 support Overall performance improvements, support USB tethering, update support, Flash 10.1 support Page 5
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 6
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 7
1. Android Overview Android Features Page 8 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 Page 9
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 10
2. Overview of the Android development environment Development environment configuration Add API Eclipse Android SDK Coding& Modified Output to the screen Results confirm AVD created Page 11
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 Set the path to the Android SDK In the Eclipse Created the AVD(Android Virtual Device) Android App Development Page 12
3. Android development environment to build JDK installation [Practice1-1] JDK7 Installation JDK Download(http://www.oracle.com/technetwork/java/index.html) and Installation JRE installed. JavaFX is not installed. Page 13
3. Android development environment to build Android SDK installation [Practice1-2] Installation Android SDK, API(1/2) SDK download(http://developer.android.com/sdk ) Change the path to be installed Page 14
3. Android development environment to build Android SDK installation [Practice1-2] Installation Android SDK, API(2/2) When install additional API, choice the platform Page 15
3. Android development environment to build Eclipse installation and setup [Practice1-3] Eclipse download and setup (1/3) Eclipse download (http://www.eclipse.org/downloads/packages/release/indigo/sr2 ) Unzip Page 16
3. Android development environment to build Eclipse installation and setup [Practice1-3] Eclipse download and setup (2/3) Set the number of rows to show : Menu [Window] >[Preferences] Page 17
3. Android development environment to build Eclipse installation and setup [Practice1-3] Eclipse download and setup (3/3) Continue to use screen running the Eclipse Page 18
3. Android development environment to build Eclipse installation and setup [Practice1-4] To install ADT on Eclipse Menu, [Help] > [Install Software] Location : http://dl-ssl.google.com/android/eclipse Page 19
3. Android development environment to build Eclipse installation and setup [Practice1-5] Set path to the Android SDK in the Eclipse Menu [Window] > [Preferences] Page 20
3. Android development environment to build AVD created [Practice1-6] AVD created for development testing (1/2) Development of the 90% is the same without Android Phone Menu [Window] > [AVD Manage] Add Page 21
3. Android development environment to build AVD created [Practice1-6] AVD created for development testing (2/2) AVD running, then the language is set Page 22
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 Add API Eclipse Android SDK Coding& Modified Output to the screen Results confirm AVD created Page 23