Introduction of Android Framework 2010/1/14 1. Outline (1) –Mobile OS on Market Symbian Android WindowMobile PalmWebOS i-Phone –Mobile Application Store.

Slides:



Advertisements
Similar presentations
桃園縣政府貼心規劃【 1999 縣民諮詢服務熱 線】,提供桃園縣民更優質、便捷的服務。 有不清楚的縣政問題,歡迎您隨時拿起電話 撥打 1999 ,我們將協助您提供諮詢服務,讓 您享受便捷的生活。 1999 將是您的好幫手, 天天在您左右!
Advertisements

FCU, Department of ECE, IC Design Research Lab. TEL: # 4945 Pre-SIm , Post-Sim.
Chapter 10 馬可夫鏈 緒言 如果讀者仔細觀察日常生活中所發生的 諸多事件,必然會發現有些事件的未來 發展或演變與該事件現階段的狀況全然 無關,這種事件稱為獨立試行過程 (process of independent trials) ;而另一些 事件則會受到該事件現階段的狀況影響。
本章結構 前言 符號介紹與立透法則 指數機率分配 基本無限來源模式 基本有限來源模式 等候系統的經濟分析-最佳化 進階等候模式 16-1.
PowerPoint2010 李燕秋 版面配置 版面配置指的是每一個頁面的內容配置 方式,不同的版面配置會有對應的母片。
SIP Mobiity TA: 洪敏書
1 Web of Science 利用指引 單元二 瀏覽與處理查詢結果. 2 瀏覽檢索結果 查出的結果,預設以時間排列, 使用者可改變結果的排列方式: 還可以依被引用次數、相關度、 第一作者、刊名、出版年等排序 回到前先查的結果畫面 點選想看資料的完整書目 本館訂購範圍的期刊 全文,便可直接連結.
DEPARTMENT OF COMPUTER ENGINEERING
Outlook Express.
ANDROID OPERATING SYSTEM Guided By,Presented By, Ajay B.N Somashekar B.T Asst Professor MTech 2 nd Sem (CE)Dept of CS & E.
: OPENING DOORS ? 題組: Problem Set Archive with Online Judge 題號: 10606: OPENING DOORS 解題者:侯沛彣 解題日期: 2006 年 6 月 11 日 題意: - 某間學校有 N 個學生,每個學生都有自己的衣物櫃.
國立聯合大學 資訊管理學系 陳士杰老師 MySQL5 視覺化資料庫管理工具 - MySQL Adminstrator.
第四章 第二節 網路位址轉換器 NAT Network Address Translation. 動機 解決 IP addresses 不夠的問題 IPv6 – 現有的網路設備需要重新設計 – 代價昂貴 Virtual IP Gateway(VIP Gateway) – 架構於目前的 IPv4 上.
各種線上電子資源的特異功能 STICnet 的 SDI 專題訂閱服務 2003/4/28 修改. 無論校內外皆可使用。連線至
MS-DOS 作業系統 張基昇 (Microsoft-Disk Operating System).
奶酪專賣店系統 組員: B 林家榕 B 莊舜婷.
國立中山大學財產管理系統 線上報廢、盤點系統 總務處保管組 策劃 計算機與網路中心 分析設計 2008/03.
長訊科技 EVRCOM Voice Mail System 使用者操作說明及流程. 自動總機 -- 來電語音轉接服務流程 ( 範例流程 )
第 1 章 PC 的基本構造. 本章提要 PC 系統簡介 80x86 系列 CPU 及其暫存器群 記憶體: Memory 80x86 的分節式記憶體管理 80x86 的 I/O 結構 學習組合語言的基本工具.
Introduction to Java Programming Lecture 17 Abstract Classes & Interfaces.
第 5 章 深入 Response 物件 製作. 網頁的轉向與強制輸出 - 讓網頁轉彎的 Redirect 敘述 運用 Response 物件的 Redirect 方法,將瀏覽器顯 示的網頁,導向至其他網頁,語法如下: Response.Redirect 網頁路徑與名稱 此網頁路徑與名稱  若是導向到同一台.
24-6 設定開始與結束場景中的 程式 最後我們要替這個遊戲收個尾, 幫它把開始 的等待畫面跟結束畫面處理一下。
最新計算機概論 第 5 章 系統程式. 5-1 系統程式的類型 作業系統 (OS) : 介於電腦硬體與 應用軟體之間的 程式,除了提供 執行應用軟體的 環境,還負責分 配系統資源。
Chapter 20 塑模動態觀點:狀態圖 Statechart Diagram. 學習目標  說明狀態圖的目的  定義狀態圖的基本記號  展示狀態圖的建構  定義活動、內部事件及遞延事件的狀態 圖記號.
圖層的操作與管理 圖層的作用就如同一張張透明的賽璐璐片, 你可以將動畫中的每項物件, 放置在不同圖 層中, 圖層交疊就形成完整的畫面。在各圖 層中的物件, 做任何的移動或變化, 都不會 相互干擾, 所以當你編輯一個物件時, 只要 在物件所在的圖層進行操作, 將可大幅降低 製作過程的複雜度與難度。
各種線上電子資源的特異功能 SwetsWise 的 alert, TOC alert 與 Favorites 2003/4/28 修改.
各種線上電子資源的特異功能 SpringerLINK 的 Alert, Serials Update, News 2003/4/28 修改.
生產系統導論 生產系統簡介 績效衡量 現代工廠之特徵 管理機能.
教材名稱:網際網路安全之技術及其應用 (編號: 41 ) 計畫主持人:胡毓忠 副教授 聯絡電話: 教材網址: 執行單位: 政治大學資訊科學系.
從此處輸入帳號密碼登入到管理頁面. 點選進到檔案管理 點選「上傳檔案」上傳資料 點選瀏覽選擇電腦裡的檔案 可選擇公開或不公開 為平台上的資料夾 此處為檔案分類,可顯示在展示頁面上,若要參加 MY EG 競賽,做品一律上傳到 “ 98 MY EG Contest ” 點選此處確定上傳檔案.
Chapter 17 Windows API 程式入門 VC++ 與 WindowsVC++ 與 Windows 建構遊戲設計的舞台 建構遊戲設計的舞台.
資料結構實習-一 參數傳遞.
6-2 認識元件庫與內建元件庫 Flash 的元件庫分兩種, 一種是每個動畫專 屬的元件庫 (Library) ;另一種則是內建元 件庫 (Common Libraries), 兩者皆可透過 『視窗』功能表來開啟, 以下即為您說明。
法律系 系所科助之血淚辛酸史 劉蕙綺. 系上推行困難處 ( 學期初 ) 傳統習慣:法律系以教科書為主 很多老師沒有電子檔案 專、兼任老師使用平台的意願 因老師多為資深老師,因此在使用電腦部 份可能比較需要幫助 通常學生知道訊息的來源是藉由 BBS 或者 是系上的系板,使用意願會降低.
1 Introduction to Java Programming Lecture 2: Basics of Java Programming Spring 2008.
Management Abstracts Retrieval System; MARS 檢索操作.
Mobile Application Development
McGraw-Hill© The McGraw-Hill Companies, Inc., 2004 第 6 單元 作業系統和使用者介面 McGraw-Hill Education.
Image Interpolation Use SSE 指導教授 : 楊士萱 學 生 : 楊宗峰 日 期 :
2010 MCML introduction 製作日期: 2010/9/10 製作人 : 胡名霞.
校園網頁整合平台介紹 電算中心綜合業務組. 大綱 設計理念 功能介紹 實做 FAQ 特殊案例 Q&A.
845: Gas Station Numbers ★★★ 題組: Problem Set Archive with Online Judge 題號: 845: Gas Station Numbers. 解題者:張維珊 解題日期: 2006 年 2 月 題意: 將輸入的數字,經過重新排列組合或旋轉數字,得到比原先的數字大,
T H O M S O N S C I E N T I F I C ISI Web of Knowledge 新功能與提升 2005 年第 3 季.
網路介紹及其運用 講師陳炯勳. 5-2 IP 協定 ( 一 ) IP 協定運作 (1) – 網路成員:主機 (Host) 與路由器 (Router) – 路由表 – 電報傳輸運作.
概念性產品企劃書 呂學儒 李政翰.
無線通訊網路 Mac 層 TDM 通訊模式的操作與效能研究 專題生 : 林書弘、蔡逸祥、毛建翔、王政 華 指導教授 : 黃依賢.
Visual C++重點複習.
Microsoft Excel.
著作權所有 © 旗標出版股份有限公司 第 14 章 製作信封、標籤. 本章提要 製作單一信封 製作單一郵寄標籤.
計 算 機 概 論 Chapter 10 作業系統. Ch010 作業系統 2 學習目標  描述作業系統的兩個主要任務  定義記憶體及程序管理  解釋邏輯位址與實體位址間的關係  基礎:第 5.2 節 范紐曼 電腦架構  ( 第 5 章講義第 頁 )
第 1 章 PC 的基本構造. 本章提要 PC 系統簡介 80x86 系列 CPU 及其暫存器群 記憶體: Memory 80x86 的分節式記憶體管理 80x86 的 I/O 結構 學習組合語言的基本工具.
To be Presented by, T.Sathishkumar [11mw07] 1. Synopsis Introduction Version Features License An Application Development Demo Possibilities Advantages.
Mobile Application Development using Android
Mobile Platform Comparison 2010/01/06. What is Symbian? An proprietary operating system for mobile devices and smartphones by Symbian Ltd. Symbian is.
Android Programming By Mohsen Biglari Android Programming, Part1: Introduction 1 Part1: Introduction By Mohsen Biglari.
Copyright© Jeffrey Jongko, Ateneo de Manila University Android.
安裝 Android 開發環境 建國科技大學 資管系 饒瑞佶 2013/2 V1. 需要 JDK ( Java Runtime 1.5 above) Eclipse IDE Android SDK ADT.
Introduction of Android Framework 2010/1/14 1. Outline (1) –Mobile Platform Comparison Symbian Android WindowMobile PalmWebOS i-Phone –Mobile Application.
ANDROID 응용 프로그래밍 과정 – 목차 - 안드로이드란 - 안드로이드가 만들어지게 된배경 - 안드로이드의 철학 - 안드로이드 환경설정 ( SDK download, eclipse plug-in 설정, 간단한 프로그램 실행 ) - 안드로이드 동작원리 - 안드로이드 핵심.
Android Husam Abdel Rahman. Introduction Android Operating system is most popular operating system these days with the advance in voice communications.
Palm webOS History Version.Release Date. WebOS – Build 194 Sprint Config – 2.012/28/2009 WebOS – Build 194 Sprint Config – 2.012/28/2009 WebOS.
ANDROID BY:-AANCHAL MEHTA MNW-880-2K11. Introduction to Android Open software platform for mobile development A complete stack – OS, Middleware, Applications.
Created By. Jainik B Patel Prashant A Goswami Gujarat Vidyapith Computer Department Ahmedabad.
Federated Spatial Databases and Interoperability.
Mobile Application Store MAS 2010/1/7. Outline –Mobile Application Store “MAS” App Store Android Market Blackberry App World Nokia Ovi Store Palm App.
By Adam Reimel. Outline Introduction Platform Architecture Future Conclusion.
Architecture of Android
ANDROID AN OPEN HANDSET ALLIANCE PROJECT
Contents: Introduction Different Mobile Operating Systems
SQL Server 2012 on Server Core新架構探討並與AlwaysOn完美整合
Presentation transcript:

introduction of Android Framework 2010/1/14 1

Outline (1) –Mobile OS on Market Symbian Android WindowMobile PalmWebOS i-Phone –Mobile Application Store App Store Android Market Blackberry App World Nokia Ovi Store Palm App Catalog Marketplace for Mobile 2

Outline (2) 本周主題 –Introduction to Android Framework Core Platform Services –Views System –Activity Manager –Window Manager –Content Provider –Resource Manager –Package Manager –Notification Manager Hardware Services –Location Manager –Telephony Manager –Bluetooth Service –Wifi Service –USB Service –Sensor Service Component of an Android Application 3

Outline (1) –Mobile OS on Market Symbian Android WindowMobile PalmWebOS i-Phone –Mobile Application Store App Store Android Market Blackberry App World Nokia Ovi Store Palm App Catalog Marketplace for Mobile 4

5

What is Symbian? An proprietary operating system for mobile devices and smartphones by Symbian Ltd. Symbian is the world's most popular mobile operating system, accounting for 50% of smartphone sales in Q The process of publishing the source code under the Eclipse Public License (EPL) was slated for completion in

Symbian’s History YearEvent 1980Psion founded by David Potter 1984Psion Organiser launched 1986the "vastly improved" Psion Organiser II launches, with a simple-to-use database programming language, OPL. 1987Psion begins development of its “SIBO" family of devices and its own new multitasking operating system called EPOC to run its PDA products. 1989First EPOC16 devices, the MC400 and MC200, ship with a primarily 1-bit, keyboard-operated graphical interface. 1997The first version of EPOC32 Release 1 appeared on the Psion Series 5 ROM v1.0. The EPOC32 operating system, at the time simply referred to as EPOC, was later renamed Symbian OS. EPOC32 was a pre-emptive multitasking, single user operating system with memory protection, which encourages the application developer to separate their program into an engine and an interface. 1998In June Psion Software became Symbian, a major joint venture between Psion and phone manufacturers Ericsson, Motorola, and Nokia. As of Release 6, EPOC became known simply as Symbian OS. 1999The Psion Series 5mx, Psion Series 7, Psion Revo, Diamond Mako, Psion netBook, netPad, GeoFox One, and Ericsson MC218 were released using ER5. A phone project was announced at CeBIT, the Phillips Illium/Accent, but did not achieve a commercial release. 2000The first phone, the Ericsson R380 was released using ER5u in November. 2001The first 'open' Symbian OS phone, the Nokia 9210 Communicator, was released in June Bluetooth support was added. Almost 500,000 Symbian phones were shipped in 2001, rising to 2.1 million the following year. 2003First shipment of Symbian OS 7.0 and 7.0s, an important Symbian release which appeared with all contemporary user interfaces including UIQ, Series 80, Series 90, Series 60 as well as several FOMA phones in Japan. It also added EDGE support and IPv6. One million Symbian phones were shipped in Q1 2003, with the rate increasing to one million a month by the end of Psion sells its stake in Symbian millionth phone with Symbian OS is shipped. 2008Symbian acquired by Nokia; Symbian Foundation formed. 7

Layers in Symbian OS 8

Symbian’s Features Features: –Pre-emptive Multitasking –Memory protection –like other operating systems Design principles –The integrity and security of user data is paramount, –user time must not be wasted, and all resources are scarce. 9

Symbian’s Products Ericsson R380 –First Symbian phone –Version: Symbian v5.1 –Release Date: 2000 Nokia 9210 –The first 'open' Symbian OS phone –Version: Symbian v6.0 –Release Date: Nokia N97 –Version: Symbian v9.4(S60) –Release Date:

11

What is Android Android is a software stack for mobile devices that includes an operating system, middleware and key applications. 12

Android’s History In July 2005, Google acquired Android, Inc. Update History: –1.5 (Cupcake) Released on 30 April 2009 –1.6 (Donut) Released on 15 September 2009 –2.0 (Eclair) Released on 26 October 2009 –2.0.1 Release 1 Released on 3 December 2009 –2.1 (Flan ) –Released on 12 January

Android’s Features Handset layouts The platform is adaptable to larger, VGA, 2D graphics library, 3D graphics library based on OpenGL ES 1.0 specifications, and traditional smartphone layouts. StorageThe Database Software SQLite is used for data storage purposes ConnectivityAndroid supports connectivity technologies including GSM/EDGE, CDMA, EV-DO, UMTS, Bluetooth, and Wi-Fi. MessagingSMS and MMS are available forms of messaging including threaded text messaging. Web browserThe web browser available in Android is based on the open-source WebKit application framework. The browser scores a 93/100 on the Acid3 Test. Java supportSoftware written in Java can be compiled to be executed in the Dalvik virtual machine, which is a specialized VM implementation designed for mobile device use, although not technically a standard Java Virtual Machine. Media supportAndroid supports the following audio/video/still media formats: H.263, H.264 (in 3GP or MP4 container), MPEG-4 SP, AMR, AMR-WB (in 3GP container), AAC,HE-AAC (in MP4 or 3GP container), MP3, MIDI, OGG Vorbis, WAV, JPEG, PNG, GIF, BMP. Additional hardware surport Android can use video/still cameras, touchscreens, GPS, accelerometers, magnetometers, accelerated 2D bit blits (with hardware orientation, scaling, pixel format conversion) and accelerated 3D graphics. Development environment Includes a device emulator, tools for debugging, memory and performance profiling, a plugin for the Eclipse IDE. MarketLike many phone-based application stores, the Android Market is a catalog of applications that can be downloaded and installed to target hardware over-the-air, without the use of a PC. Originally only freeware applications were supported. Paid-for apps have been available on the Android Market in the United States since 19 February [36] The Android Market has been expanding rapidly. By December, 2009, it had over 20,000 Android applications for download. [36] Muti-touchAndroid has native support for multi-touch which is available in newer handsets such as the HTC Hero. The feature was initially disabled at the kernel level (possibly to avoid infringing Apple patents on touch-screen technology) 14

Android’s Features Application framework enabling reuse and replacement of components Dalvik virtual machine optimized for mobile devices Integrated browser based on the open source WebKit engine Optimized graphics powered by a custom 2D graphics library; 3D graphics based on the OpenGL ES 1.0 specification SQLite for structured data storage Media support for common audio, video, and still image formats GSM Telephony Bluetooth, EDGE, 3G, and WiFi Camera, GPS, compass, and accelerometer Rich development environment including a device emulator, tools for debugging, memory and performance profiling, and a plugin for the Eclipse IDE 15

Layers in Android OS 16

Android’s Products G1: –First Android phone –Version: Android v1.0 –Release Date: HTC Tattoo – 第一隻可由內到外客製化的 Android Phone –Version: Android v1.6 –Release Date: Tattoo HTC Tattoo G1 17

Android’s Products Google Nexus One –First Google phone –Version: Android v2.1 –Release Date: Google Nexus One 18

19

20

Windows Mobile’s History 版本發布日期附註別名基於 Pocket PC 年 4 月 19 日里程碑 "Rapier"( 雙刃劍 ) Windows CE 3.0 Pocket PC 年 10 月 "Merlin"( 默林 ) Windows CE 4.0 Windows Mobile 年 6 月 23 日 第一個版本的 Windows Mobile "Ozone"( 臭氧 ) Windows CE 4.1 Windows Mobile 2003 SE 2004 年 3 月 24 日 Windows Mobile 2003 的第二版 Windows CE 4.2 Windows Mobile 年 5 月 12 日 "Magneto"( 磁電機 ) Windows CE 5.0 Windows Mobile 年 2 月 12 日 "Crossbow"( 石弓 ) Windows CE 5.1 Windows Mobile 年 4 月 1 日 Windows CE 5.2 Windows Mobile 年 5 月 11 日 Windows CE 5.2 Windows Mobile 年 2 月 1 日 "Photon”Windows CE

Windows Mobile is a combination of the Windows CE operating system, a new user interface and applications. –Smartphone – Windows Mobile Standard Edition – a cell phone first. Does not have a touch screen. –Pocket PC – Windows Mobile Professional – a data input device using a touch screen. 22

Windows Mobile’s Pocket PC 2000 Pocket PC 2002 Windows Mobile 2003 Windows Mobile 2003 SE Windows Mobile 5.0 Windows Mobile 6 Windows Mobile 6.1 Windows Mobile 6.5 Without Mobile Phone Pocket PC 2000 Pocket PC 2002 Windows Mobile 2003 for Pocket PC N/AWindows Mobile 5.0 for Pocket PC Windows Mobile 6 Classic Windows Mobile 6.1 Classic N/A With Mobile Phone & Touch Screen Pocket PC 2000 Phone Edition Pocket PC 2002 Phone Edition Windows Mobile 2003 for Pocket PC Phone Edition Windows Mobile 2003 SE for Pocket PC Phone Edition Windows Mobile 5.0 for Pocket PC Phone Edition Windows Mobile 6 Professional Windows Mobile 6.1 Professional Windows Mobile 6.5 Professional Without Touch Screen N/ASmartphone 2002 Windows Mobile 2003 for Smartphone Windows Mobile 2003 SE for Smartphone Windows Mobile 5.0 for Smartphone Windows Mobile 6 Standard Windows Mobile 6.1 Standard Windows Mobile 6.5 Standard 23

Windows Mobile’s Features Windows Mobile offers: –Cell phone – voice calling –Cellular based data – EvDO, 1xRTT, GPRS, EDGE and UMTS –Wi-Fi – b as well as g –Storage – internal storage and expansion via microSD, miniSD or SD flash –Connectivity – Supports TCP/IP, web browser, IMAP and POP3 , native Exchange support –Ability to display Word, Excel, and PowerPoint files – Pocket PCs can edit Word and Excel files 24

What isn’t Windows Mobile –Is not the same operating system and functionality of Windows that you have on your desktop PC –Doesn’t run standard Windows applications including ActiveX controls designed for the PC. –Limited browser functionality – subset of JavaScript and limited screen size affect usability of desktop websites –Slower devices – most Windows Mobile devices CPUs run at MHz –Limited storage – The internal flash storage is significantly smaller than your PC’s hard drive. Usually you will have anywhere from 32MB to 128MB of internal storage 25

Windows Mobile’s Products Casio Cassiopeia EM-500 HP Jornada 560 O2 XDA IIiASUS P525HTC-HD2 Pocket PC 2000 Pocket PC 2002 Windows Mobile 2003 Windows Mobile 5.0 Windows Mobile 年 10 月 2005 年 5 月 2006 年 6 月 19 日在台上市 2009 年 11 月 17 日在台上市 26

Palm webOS History Version.Release Date. WebOS – Build 194 Sprint Config – 2.012/28/2009 WebOS – Build 194 Sprint Config – 2.012/28/2009 WebOS – Sprint Config – 1.810/2/2009 WebOS – Sprint Config – 1.77/23/2009 WebOS – Sprint Config – 1.66/29/2009 WebOS – Sprint Config – 1.56/19/2009 WebOS – Sprint Config – 1.46/6/

Palm webOS Features Palm Synergy –that brings your information from all the places it resides into one logical view. Web-connected –Web-kit browser Run multiple applications at the same time Instinctive user interface –Applications run in cards –Cards are small web pages –HTML, CSS, JavaScript Intuitive and unobtrusive notifications 28

Palm webOS Architecture Core OS webOS Services UI System Manager Applications Mojo Framework 29

Palm webOS Products 30

Palm webOS Products 31

BlackBerry OS History 32

BlackBerry OS History 33

iPhone OS History 34

iPhone OS History 35

iPhone OS features Full OS X Multi Tasking Networking Syncing Low Power Security Video Cocoa Touch Core Animation Graphics Audio Widgets Applications 36

iPhone OS features It is based on Mac OS X, optimized for mobile ARM CPU, 4/8/16/32 Gb storage Touch screen, proximity sensor, accelerometer, ambient light sensor, multi-touch sensing Text input: virtual keyboard with spell checking and predictive input Phone, PDA and iPod features 37

iPone OS Architecture 38

iPhone OS Products 39

Outline (1) –Mobile OS on Market Symbian Android WindowMobile PalmWebOS i-Phone –Mobile Application Store App Store Android Market Blackberry App World Nokia Ovi Store Palm App Catalog Marketplace for Mobile 40

–Mobile Application Store “MAS” App Store Android Market Blackberry App World Nokia Ovi Store Palm App Catalog Marketplace for Mobile 41

App Store 42

Billion App Countdown April 23, 2009 Doubled at September 28, 2009 Tripled at the beginning of

Number of Applications 44

Apps by Category 45

Android Market Available to users on 22 October 2008 By December, 2009, there were over 20,000 applications Google Checkout 46

Priced Applications Availability Australia - paid apps cannot be submitted by Australian Developers. Austria France Germany Italy Netherlands New Zealand Spain United Kingdom United States Japan 47

Number of Applications 48 Source:

Applications Distribution 49 Source:

Applications Distribution 50 Source:

Applications Distribution 51 Source:

Applications Distribution 52

Blackberry App World 53

App World 54

Top Download 55

Categories 56

Details 57

PayPal 58

Reconfirm 59

My World 60

Review 61

Marketplace for Mobile –Rumors about the service in September 2008 “Skymarket” –Opened for business on 6 October, 2009, featuring 246 applications 62

Mobile Application Store Comparison App StoreAndroid Market App WorldOvi StoreApp CatalogMarketplace for Mobile OrganizationsAppleGoogle,OHARIMNokiaPalmMicrosoft EstablishedJuly 11, 2008October 22, 2008 April 1, 2009May 26, 2009 June 6, 2009October 6, 2009 Available Apps135,00020,0002,0002,5001,000Less than 1,000 Install Base58 million (40% iPod Touch) 1 million8 million100 million150,000Unknown (6.1 and 6.5 ) Exclusive App Source YesNo YesNo Carrier-Specific Stores NoYesNoYesNoYes Return PolicyNo24 HoursNo 24 Hours Developer Share70% 80%70% Developer Fee$99/year$25$200€50Free$99/year App ListingsUnlimited 10Unlimited 5 63

Record Breaking Chrismas 64

Download Growth 65

Android Devices Download Growth 66

Android Devices Download Share 67

Outline (2) 本週主題 –Introduction to Android Framework Core Platform Services –Views System –Activity Manager –Window Manager –Content Provider –Resource Manager –Package Manager –Notification Manager Hardware Services –Location Manager –Telephony Manager –Bluetooth Service –Wifi Service –USB Service –Sensor Service Component of an Android Application 68

Introduction to Android Framework 69

Introduction to Android Framework –Android Framework Object –Provide framework API for AP development Core Platform Services ( 提供撰寫 AP 所需之物件 ) –Services that are essential to the Android platform Hardware Services ( 在 AP 端直接操作底層硬體 ) –Hardware dependent Services e.g : GPS 、 Phone Call. – 隨平台由廠商自行新增新的 Hardware Service( 需跨層軟硬 整合 ) e.g : WiMAX 、 VideoTelePhony. 70

Outline (2) –Introduction to Android Framework Core Platform Services –Views System –Activity Manager –Window Manager –Content Provider –Resource Manager –Package Manager –Notification Manager Hardware Services –Location Manager –Telephony Manager –Bluetooth Service –Wifi Service –USB Service –Sensor Service Component of an Android Application 71

Views System(P.86) – 用來建構一個 AP 之 UI 的基本元件,例如: 常用的 lists 、 grids 、 text boxes 、 buttons 控 制項,甚至是嵌入式的瀏覽器 Core Platform Services 72

Activity Manager – 管理所有 AP 的生命週期 (P.85) Core Platform Services 73

Window Manager – 用來管理所有開啟的視窗程式,決定當下哪 一個 AP 被放置於最上層 Core Platform Services 74

Content Providers (P.90) – 提供平台讓 AP 之間可以安全地互相存取資 料 Core Platform Services 75

Resource Manager – 提供各種非程式碼的資源 ( 例如:圖形、排 版 (XML 檔案 ) 、 Image 、 Audio) 讓 AP 去使用 Core Platform Services 76

Package Manager – 管理所有安裝在系統內的 AP –AP 執行起來前的 apk 包解析工作 Core Platform Services 77

Notification Manager – 提供 AP 在狀態列 (Status Bar) 的地方顯示 AP 自定的警示訊息 (Alert) 。 Core Platform Services 78

Outline (2) –Introduction to Android Framework Core Platform Services –Views System –Activity Manager –Window Manager –Content Provider –Resource Manager –Package Manager –Notification Manager Hardware Services –Location Manager –Telephony Manager –Bluetooth Service –Wifi Service –USB Service –Sensor Service Component of an Android Application 79

Location Manager – 用來管理地圖定位服務的相關功能 Hardware Services 80

Telephony Manager – 用來管理有關使用者撥打與接收電話的相關 功能 Hardware Services 81

Bluetooth Service Wifi Service USB Service Sensor Service 由硬體廠商或 Google 自由新增 Hardware Services 82

Outline (2) –Introduction to Android Framework Core Platform Services –Views System –Activity Manager –Window Manager –Content Provider –Resource Manager –Package Manager –Notification Manager Hardware Services –Location Manager –Telephony Manager –Bluetooth Service –Wifi Service –USB Service –Sensor Service Component of an Android Application 83

Component of an Android Application Components of Android AP Activity Service Broadcast Receivers Content Provider AP 不一定要完全納入上述 4 項,可自由組合搭配 84

Activity AP 中每一個頁面都是一個 Activity , AP 是由多 個 Activity 所構成。 Activity 之間可以相互跳轉 Activity 有其生命周期,是由 Android 系統負責 管理生命周期 可以在 Activity 中添加 UI 元件 85

Activity with View & Widget List Checkbox Button Grid Web 86

Service Service 為一個背景程式,沒有 UI 介面, 可以應用在音樂播放程式中,實現一邊 上網一邊聽音樂的功能 當 Activity 被其他 Activity 覆蓋後,可以 將欲持續執行的工作轉交給 Service Service 也有生命週期生命週期 87

Activity with Intent / Intent Filter Intent / Intent Filter – Simple message objects that represent An intension to do something A declaration of capacity and interest in offering assistance to those in need 88

Broadcast (Intent) Receivers 使用於當 AP 希望接收與回應外部事件時 – 在事件發生後 Broadcast receiver 會去收 intent 再透 過框架去啟動 AP 89

Content Provider 在 Android 系統中每一個 AP 的數據都是私有的 ,必須透過 Content Provider 實現 AP 之間的數 據交換工作 例如某一個 AP 可以去存取通訊錄 AP 建立的聯 絡人資料。 90

Let’s Android ! 91

Lifecycle of Activity » return return 92 使用者自行刪除此 Activity

Lifecycle of Service return 93