Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 130 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
130
Dung lượng
8,67 MB
Nội dung
HO CHI MINH UNIVERSITY OF INDUSTRY 1 5. Using Android OS / Devices 4. Introduction to Android OS 3. Software Installation 2. Mobile / Tablet OSs 1. Subject introduction 6. Eclipse debug with Android app 7. Components of the Android Application 8. Units of measurement 9. XML Primer 10. Application’s Life Cycle HO CHI MINH UNIVERSITY OF INDUSTRY 2 1. Subject introduction 1.1 Topics 1.2 Learning Objectives 1.3 Textbooks 1.4 Test / Grade 1.5 Assignments 1.6 Rules HO CHI MINH UNIVERSITY OF INDUSTRY 3 1.1 Topics Background Software stack Activities vs applications Activity life cycles Activity states Resources Notification Manager Mobile/Tablet development application HO CHI MINH UNIVERSITY OF INDUSTRY 4 1.1 Topics User Interfaces Views Layouts Widgets UI XML specification HO CHI MINH UNIVERSITY OF INDUSTRY 5 1.1 Topics Intents, Receivers, Adapters Explicit Intents Implicit Intents Event Broadcasting with Intents Event Reception with Broadcast Receivers Adapters and DataBinding HO CHI MINH UNIVERSITY OF INDUSTRY 6 1.1 Topics Files, Content Providers, Databases Saving and Loading Files SQLite Databases Access Exposure to Data Sources through Content Providers Content Provider Registration Native Content Providers HO CHI MINH UNIVERSITY OF INDUSTRY 7 1.1 Topics Common Android APIs Networking APIs LBS APIs Web APIs Multimedia APIs Telephony APIs And Sensors… HO CHI MINH UNIVERSITY OF INDUSTRY 8 1.2 Learning Objectives Have an appreciation of the Android OS Know how to develop basic UIs Know how to broadcast and receive events Know how to manage data storage through files, databases, and content providers Know how to implement basic location-based services Know how to use audio and video utilities HO CHI MINH UNIVERSITY OF INDUSTRY 9 1.2 Learning Objectives Know how to access the Internet Know how to process URL data encoded in HTML/XML Know how to capture touch screen events and recognize touch screen gestures Become exposed to Android online resources and communities Know how to use android APIs, Sensors… HO CHI MINH UNIVERSITY OF INDUSTRY 10 1.3 Textbooks [1] Unlocking Android [2] The Busy Coders Guide to Android Development [3]Beginning Android Application Development – WeiMengle – Wrox -2011 [4] Android Wireless Development -Lauren Darcey , Shane Conder [5] Professional Android Application Development – Malestrom Web : http://developer.android.com [...]... vn.edu.hui.fit.lethihoa.08 912 33.Lab32 Grades will be submitted via Hotmail sharing Late submission will not be accepted 12 HO CHI MINH UNIVERSITY OF INDUSTRY 1. 6 Rules - Attendance 75% - Do homework - Do lab project - Research on internet 13 HO CHI MINH UNIVERSITY OF INDUSTRY 2 Mobile / Tablet OSs Android MeeGo Bada Ubuntu Symbian Mobile BlackBerry Windows Phone WebOS IOS 14 HO CHI MINH UNIVERSITY... c:\android-sdk-windows) 32 HO CHI MINH UNIVERSITY OF INDUSTRY 3.2 Install Android SDK Step 4: Install ADT Plugin for Eclipse To work with Eclipse IDE you need to install Android Development Tool (ADT) To install this plugin Start Eclipse and select Help -> Install New Software-> Click Add button -> Type URL http://dl-ssl.google.com/android/eclipse/ for Location In the Available Softwares dialog,... http://developer.bada.com Bada Samsung Closed source 15 HO CHI MINH UNIVERSITY OF INDUSTRY http://www.developer.nokia.com/ C/C++ J2EM 16 HO CHI MINH UNIVERSITY OF INDUSTRY Windows Phone http://dev.windowsphone.com C# VB.net XAML 17 HO CHI MINH UNIVERSITY OF INDUSTRY https://developer.palm.com/ WebOS from HP open sourced running on the Linux kernel Visual Studio C/C++ Java 18 HO CHI MINH UNIVERSITY OF INDUSTRY IOS... MINH UNIVERSITY OF INDUSTRY 3 .1 Introdution to software tools OS: List of Software Tools Windows (XP or later), Linux (Ubuntu10 .10 ), Mac OS (10 .x or later) Java Development Kit (6 or later) http://java.sun.com/javase/downloads/index.jsp Android SDK http://developer.android.com/sdk/index.html Eclipse ADT IDE Plugin for Eclipse IDE 28 HO CHI MINH UNIVERSITY OF INDUSTRY 3 .1 Introdution to software... INDUSTRY 3 .1 Introdution to software tools Integrated Similar Not Why Eclipse development environment (IDE) to Microsoft Visual Studio required for Android development Alternatives include Command-line Other Google based tools only IDEs, e.g., NetBeans documentation refers to Eclipse extensively 30 HO CHI MINH UNIVERSITY OF INDUSTRY 3 .1 Introdution to software tools The Emulator 31 HO CHI MINH... CHI MINH UNIVERSITY OF INDUSTRY 1. 4 Test / Grade Attendance Mid term lab test Final lab test Homework assignments in every week Final Project Final project will require technical writing (project proposal submission, source documentation, description) Code in java (Eclipse) There will be reading suggestions Final test 11 HO CHI MINH UNIVERSITY OF INDUSTRY 1. 5 Assignments All assignments... information directly from Eclipse It provides a New Project Wizard (you quickly create and set up all of the basic files you'll need for a new Android application.) It automates and simplifies the process of building your Android application It provides an Android code editor that helps you write valid XML for your Android manifest and resource files export project into a signed APK, which can be distributed... INDUSTRY IOS https://developer.apple.com Apple derived from Mac OS X Objective C – iPhone SDk 19 HO CHI MINH UNIVERSITY OF INDUSTRY https://developer.blackberry.com/ BlackBerry 20 HO CHI MINH UNIVERSITY OF INDUSTRY http://developer.android.com/ Android Google Inc free and open source Linux-derived OS Java (Android SDK) 21 HO CHI MINH UNIVERSITY OF INDUSTRY http://www.ubuntu.com/devices/android Ubuntu Professional... resources Screen CPU RAM (no virtual) No harddisk Battery Input data: many ways Compact Not much room Reuse of common component is impotant Phone functionality always highest priority Always on 24 HO CHI MINH UNIVERSITY OF INDUSTRY 3 Software Installation 3 .1 Introdution to software tools 3.2 Install Android SDK 25 HO CHI MINH UNIVERSITY OF INDUSTRY 3 .1 Introdution to software tools Android Environment:... In Eclipse IDE, select Window -> Preferences Select Android and browse to the location where Android SDK was unpacked Press OK button 34 HO CHI MINH UNIVERSITY OF INDUSTRY 3.2 Install Android SDK Step 6: Add SDK Components and APIs Android SDK and AVD Manager is used to add or update the SDK Components and APIs In Eclipse IDE, select Window -> Android SDK Manager -> Available Packages Select the . Primer 10 . Application’s Life Cycle HO CHI MINH UNIVERSITY OF INDUSTRY 2 1. Subject introduction 1. 1 Topics 1. 2 Learning Objectives 1. 3 Textbooks 1. 4 Test / Grade 1. 5 Assignments 1. 6 Rules. UNIVERSITY OF INDUSTRY 10 1. 3 Textbooks [1] Unlocking Android [2] The Busy Coders Guide to Android Development [3]Beginning Android Application Development – WeiMengle – Wrox -2 011 [4] Android Wireless. vn.edu.hui.fit.lethihoa.08 912 33.Lab32 Grades will be submitted via Hotmail sharing Late submission will not be accepted HO CHI MINH UNIVERSITY OF INDUSTRY 13 1. 6 Rules - Attendance 75% - Do homework - Do lab