• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Android introduction&hello world
 

Android introduction&hello world

on

  • 757 views

Android introduction and Hello world

Android introduction and Hello world

Statistics

Views

Total Views
757
Views on SlideShare
757
Embed Views
0

Actions

Likes
0
Downloads
23
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Android introduction&hello world Android introduction&hello world Presentation Transcript

    • Android introduction &My first android app (hello world)
      2010/11/23 made by John
    • What we want from Android?
    • Agenda
      Background
      Androidology : Architecture Overview
      Androidology : Application Building Blocks
      Androidology : Reusing & Replacing Compnts
      Androidology : Application Life Cycle
      Androidology : APIs Brief View
      Developer Tool chain
      My first Android App : HelloWorld
      Q & A
    • Background (1)
      Source: International Telecommunication Union
    • Background (2)
      Android continues to put in a powerful performance as measured by the share of mobile web consumption
      In August Android took share from every corner of the market, putting in its best month share gain since November 2009
    • Background (3)
      What’s Android :
      • Android is a mobile operating system initially developed by Android Inc.
      • The unveiling of the Android distribution on 5 November 2007 was
      announced with the founding of the Open Handset Alliance.
      • The Android operating system software stack consists of Java applications running on a Java based object oriented application framework on top of Java core libraries running on a Dalvik virtual machine featuring JIT compilation.
      • Android has been available under a free software / open source license since 21 October 2008. Google published the entire source code (including network and telephony stacks)[34] under an Apache License.
      Google on Purchasing Android Inc: “Best Deal Ever”
      For those of you that don’t know, Android and its mobile operating system was once separate from Google. In 2005, Google “quietly” acquired Android for what’s estimated to be around $50 million USD – a good hunk of their acquisition money that year, the whole lump being somewhere around $130 million. Now, at a panel at the 16th annual Stanford Accel Symposium, vice president of corporate development at Google David Laweesaid that the pickup of Android was Google’s “best deal ever.”
      Copyleft : copyleft is a general method for making a program (or other work) free, and requiring all modified and extended versions of the program to be free as well.
       Allows vendors to add proprietary extensions without submitting them back to the open source community.
    • Background (3)
      What does means ?
      Developer
      • Software stack open sourced under Apache 2.0 license
      • Source available after first handsets ship
      • Anyone will be able to build a system image
      • Users have control of their experience
      • They control what gets installed
      • They choose the defaults
      • Don’t need permission to ship an application
      • No hidden or privileged framework APIs
      • Can integrate, extend and replace existing components
      User
      Industry
    • Architecture Overview
      GUI Design
      DB
      UI
      ≈ J2SE
      mp3, mp4
      Open source WebKit is a layout engine designed to allow web browsers to render web pages.
    • Application Building Blocks
    • Reusing & Replacing Compnts
      “Record voice”
      Photo
      Gallery
      Home
      “Pick photo”
      Picasa
      “Browsing”
      Client component makes a request for a specific action.
      “Media play”
      Player
      “Send mail”
      GMail
      ToDo
      “Word processing”
    • Reusing & Replacing Compnts
    • Applications run in their own process.
      Process are started and stopped as needed to run an application’s component.
      Process may be killed to reclaim resources.
      Application Life Cycle
    • Application Life Cycle (1)
      System Process
      Home Process
      Home
      Mail Process
      Browser Process
      Map Process
      Mail
      Message
      Map
      Browser
    • Application Life Cycle (2)
      System Process
      Home Process
      Home
      Map Process
      Browser Process
      Mail Process
      Browser
      Map
      Message
      Mail
    • APIs Brief View
    • Developer Tool Chain (1)
      Android provide free and cross-platform IDE and Emulator for developers to focus on bringing their thoughts into the implementation of application.
      To build up a developing environment, you should have :
      • JDK5 or JDK6
      • Eclipse IDE
      • ADT (Android Development Tools plug in)
      • Android SDK (Include Emulator)
      安裝 Android 開發工具
    • Developer Tool Chain (2)
    • Appendix
      Android 官方網站 http://www.android.com/ 開放手持裝置聯盟(Open Handset Alliance) http://www.openhandsetalliance.com/ Google Android 開發者部落格 http://android-developers.blogspot.com/ Android 開發者大賽網站 http://code.google.com/android/adc.html Android 文件 http://developer.android.com/ http://www.onlamp.com/pub/a/onlamp/2007/11/12/goog...ing-inside-the-gphone-sdk.html CNet專訪:Google手機平台背後的原創者 http://www.zdnet.com.tw/news/comm/0,2000085675,20125898,00.htm Android 原始碼網站 http://source.android.com Android 相關事件時間表 http://www.androidacademy.com/4-android-timeline
       深入淺出 Android -- Google 手持設備應用程式設計入門