SlideShare a Scribd company logo
An Introduction to Android
                              Huang Xuguang
                Database Lab. Inha University
                                    2009.11.2
               Email: xuguanghuang@yahoo.cn
Outline
• Background
• What is Android?
• Development for Android
Background
Internet users and Mobile phone users




                         Source: http://en.wikipedia.org/wiki/Digital_divide
Open Handset Alliance(OHA)
                                                 Handset Manufacturers
   Mobile Operators




Semiconductor Companies   Software Companies   Commercialization Companies




                                               Source: http://www.openhandsetalliance.com
What is Android?
Androidā„¢ delivers a complete set of
software for mobile devices: an
operating system, middleware and
key mobile applications.




        Open
        All application and Created equal
        Breaking down application boundaries
        Fast & easy application development
History of Android
•   2001 search service for wireless device
•   2005
     – Acquire Android(Andy Rubin: Danger CEO, Development Sidekick of T-Mobile)
     – Acquire Skia (2D Graphics for mobile device)
     – Acquire RegWireless (Browser and Email for mobile device)
     – Move Engineers from PlamSource (Dianne Hackborn, etc…)
•   2007 Nov 5: Android announced
•   2007 Nov 12: Android SDK released by OHA
•   2007 Dec 14: Bug-fix SDK released
•   2008 Jan 3: Android Developer Challenge I starts accepting submissions
•   2008 Feb 13: m5-rc15 SDK released
•   2008 Apr 14: 1788 total submissions for Challenge I
•   2008 May 12: Top 50 Applications in Challenge I announced
•   2008 Nov: Android Phone(G1 Phone by HTC/T-mobile)
•   2008 Nov: Full Source Open
•   2009 Apr: HTC Magic
•   2009 July: HTC Hero, Samsung i7500, Android Netbook, Set-top……
•   2009 Aug: Android Developer Challenge II
Open

                               Users


     Industry                                         Developer
                          Users
Industry                  Users have control of   Developer
Software stack open-     their experience         Don not need
sourced under Apache      They control what       permission to ship an
2.0 license               gets installed           application
Source available after   They choose the         No hidden or privileged
first handsets ship       defaults                 framework APIs
Anyone will be able to
                                                   Can integrate, extend
build a system image
                                                   and replace existing
                                                   components
Integrate   Extended   Replace
Android Architecture
Details of Architecture(1/4)



Linux Version 2.6.x for core system services
Android uses only ā€œKernelā€ portion in Linux
                             Core Libraries
                                Provides the functionality of the JAVA
                                Programming Language
                                Android Application runs in its own process, with
                                its own instance of the Dalvik virtual machine
                                Dalvik VM: Java based license free VM
                                      •Register based VM, optimization for low
                                      memory requirements
                                      •Executes files in the Dalvik Executable (.dex)
                                      format
                                      •DX tool converts classes to .dex format
Details of Architecture(2/4)

 •   Libc: c standard lib.
 •   SSL: Secure Socket Layer
 •   SGL: 2D image engine
 •   OpenGL|ES: 3D image engine
 •   Media Framework: Core part of Android multi-media
 •   SQLite: Embedded database
 •   WebKit: Kernel of web browser
 •   FreeType: Bitmap and Vector
 •   Sufrace Manager: Manage difference windows for
     different applications
Details of Architecture(3/4)




   •   No limited application
   •   Equality of each apps.
   •   Easy to embedded web browser
   •   Parallel running
Details of Architecture(4/4)
                         • The Design goal of
                           Android: Openness
                            – Be as flexible as possible
Java
                            – How it handles access to
                              data: Mash up on the
                              internet and everything
            C/C++
                              else
                            – Rapid development(XML,
                              Java)
                         • Develop Language
                    C
                            –   App: Java
                            –   Framework: Java
                            –   Libraries: C/C++
                            –   OS & Driver: C
Develop for Android
Application Architecture

• Dev. Language: Java
• Virtual Machine:
   – Dalvik VM, not JVM.
   – Open source
• Application: consists of one or
  more of the following
  classifications
   –   Activities
   –   Services                     Dalvik Virtual Machine
   –   Content providers
   –   Broadcast receivers
Android SDK

• android.jar Java archive file containing all of the Android SDK classes necessary to
    build your application.
• documention.html and docs directory The SDK documentation is provided
    locally and on the Web. It's largely in the form of JavaDocs, making it easy to
    navigate the many packages in the SDK. The documentation also includes a high-
    level Development Guide and links to the broader Android community.
•   Samples directory The samples subdirectory contains full source code for a
    variety of applications, including Api Demo, which exercises many APIs. The
    sample application is a great place to explore when starting Android application
    development.
•   Tools directory Contains all of the command-line tools to build Android
    applications. The most commonly employed and useful tool is the adb utility
    (Android Debug Bridge).
•   Usb_driver Directory containing the necessary drivers to connect the
    development environment to an Android-enabled device, such as the G1 or the
    Android Dev 1 unlocked development phone. These files are only required for
    developers using the Windows platform.
Tools

• Emulator
  – Android applications may be
    run on a real device or on the
    Android Emulator, which ships
    with the Android SDK.
• ADB (Android Debug Bridge)
  – The ADB utility lets you
    connect to the phone itself
    and issue rudimentary shell
    commands, such as copying
    files to and from the device.
Development Environments

                    •   Eclipse 3.2.3.3
                    •   Eclipse JDT Plugin
                    •   JDK 5 or 6
                    •   ADT:Android Development
                        Tools plug-in




                                   Example: HelloWorld
                                   Running on Emulator
Cases
Introduction to android
Summary

• Benefits
  –   Open Platform/License Free
  –   Robust OS Kernel, Innovative Library Packages
  –   Ease App. Development
  –   Rapid Improvement
• Challenges
  – Performance Consideration
  – Hard to Integrate for Vendors
  – Too Much Google Dependent
• Key Factor: Market Response
References

• An Introduction to Android. Jason Chen, 2008
• Introduction to Android Development. Frank Ableson, May 12,
  2009
   – http://www.ibm.com/developerworks/opensource/library/os-android-
     devel/index.html?S_TACT=105AGX52&S_CMP=content

• Homepage of OHA
   – http://www.openhandsetalliance.com/

• Introduction to Android Development. Ed Burnette, 2009
• Android Overview. ģ“ģŠ¹ėÆ¼, Oct 27, 2009
Resources
• http://developer.android.com
   – Home page for Android development and documentation
• http://groups.google.com/group/android-beginners
   – Forum for development questions (beginner)
• http://groups.google.com/group/android-developers
   – Forum for development questions (advanced)
• http://www.planetandroid.com
   – Blogs and news from around the Android community
• http://pragprog.com/titles/eband
   – <book> Hello, Android: Introducing Google’s Mobile Development
     Platform
• Videos
   Android 1.6 office show: http://www.youtube.com/watch?v=MBRFkLKRwFw
   Android architecture:
      I: http://www.youtube.com/watch?v=QBGfUs9mQYY
      II: http://www.youtube.com/watch?v=fL6gSd4ugSI
      III: http://www.youtube.com/watch?v=MPukbH6D-lY
   Android Introduction by google I/O 2008: http://www.youtube.com/watch?v=x1ZZ-R3p_w8
Ad

More Related Content

What's hot (20)

Android Programming Basic
Android Programming BasicAndroid Programming Basic
Android Programming Basic
Duy Do Phan
Ā 
Best software development tools in 2021
Best software development tools in 2021Best software development tools in 2021
Best software development tools in 2021
Samaritan InfoTech
Ā 
Introduction to Android, Architecture & Components
Introduction to  Android, Architecture & ComponentsIntroduction to  Android, Architecture & Components
Introduction to Android, Architecture & Components
Vijay Rastogi
Ā 
Introduction to Android Development Part 1
Introduction to Android Development Part 1Introduction to Android Development Part 1
Introduction to Android Development Part 1
Kainda Kiniel Daka
Ā 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_auth
lzongren
Ā 
Android Application Fundamentals
Android Application FundamentalsAndroid Application Fundamentals
Android Application Fundamentals
Vikalp Jain
Ā 
JAVA First Day
JAVA First DayJAVA First Day
JAVA First Day
Sher Singh Bardhan
Ā 
Mohit Jaiswal
Mohit JaiswalMohit Jaiswal
Mohit Jaiswal
Sunil Kumar
Ā 
Arduino - Android Workshop Presentation
Arduino - Android Workshop PresentationArduino - Android Workshop Presentation
Arduino - Android Workshop Presentation
Hem Shrestha
Ā 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
Can Elmas
Ā 
Developing Applications for Android - Lecture#1
Developing Applications for Android - Lecture#1Developing Applications for Android - Lecture#1
Developing Applications for Android - Lecture#1
Usman Chaudhry
Ā 
document
documentdocument
document
Joyful Vino
Ā 
Java Meetup - 12-03-15 - Android Development Workshop
Java Meetup - 12-03-15 - Android Development WorkshopJava Meetup - 12-03-15 - Android Development Workshop
Java Meetup - 12-03-15 - Android Development Workshop
Kasun Dananjaya Delgolla
Ā 
Android Programming Seminar
Android Programming SeminarAndroid Programming Seminar
Android Programming Seminar
Nhat Nguyen
Ā 
Backwards Compatibility: Strategies and Tactics
Backwards Compatibility: Strategies and TacticsBackwards Compatibility: Strategies and Tactics
Backwards Compatibility: Strategies and Tactics
CommonsWare
Ā 
Android basic principles
Android basic principlesAndroid basic principles
Android basic principles
Henk Laracker
Ā 
Android For Java Developers
Android For Java DevelopersAndroid For Java Developers
Android For Java Developers
Mike Wolfson
Ā 
Android Deep Dive
Android Deep DiveAndroid Deep Dive
Android Deep Dive
Marko Gargenta
Ā 
Android
Android Android
Android
Nirav Ranpara
Ā 
Android Basic
Android BasicAndroid Basic
Android Basic
Nirav Ranpara
Ā 
Android Programming Basic
Android Programming BasicAndroid Programming Basic
Android Programming Basic
Duy Do Phan
Ā 
Best software development tools in 2021
Best software development tools in 2021Best software development tools in 2021
Best software development tools in 2021
Samaritan InfoTech
Ā 
Introduction to Android, Architecture & Components
Introduction to  Android, Architecture & ComponentsIntroduction to  Android, Architecture & Components
Introduction to Android, Architecture & Components
Vijay Rastogi
Ā 
Introduction to Android Development Part 1
Introduction to Android Development Part 1Introduction to Android Development Part 1
Introduction to Android Development Part 1
Kainda Kiniel Daka
Ā 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_auth
lzongren
Ā 
Android Application Fundamentals
Android Application FundamentalsAndroid Application Fundamentals
Android Application Fundamentals
Vikalp Jain
Ā 
Mohit Jaiswal
Mohit JaiswalMohit Jaiswal
Mohit Jaiswal
Sunil Kumar
Ā 
Arduino - Android Workshop Presentation
Arduino - Android Workshop PresentationArduino - Android Workshop Presentation
Arduino - Android Workshop Presentation
Hem Shrestha
Ā 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
Can Elmas
Ā 
Developing Applications for Android - Lecture#1
Developing Applications for Android - Lecture#1Developing Applications for Android - Lecture#1
Developing Applications for Android - Lecture#1
Usman Chaudhry
Ā 
Java Meetup - 12-03-15 - Android Development Workshop
Java Meetup - 12-03-15 - Android Development WorkshopJava Meetup - 12-03-15 - Android Development Workshop
Java Meetup - 12-03-15 - Android Development Workshop
Kasun Dananjaya Delgolla
Ā 
Android Programming Seminar
Android Programming SeminarAndroid Programming Seminar
Android Programming Seminar
Nhat Nguyen
Ā 
Backwards Compatibility: Strategies and Tactics
Backwards Compatibility: Strategies and TacticsBackwards Compatibility: Strategies and Tactics
Backwards Compatibility: Strategies and Tactics
CommonsWare
Ā 
Android basic principles
Android basic principlesAndroid basic principles
Android basic principles
Henk Laracker
Ā 
Android For Java Developers
Android For Java DevelopersAndroid For Java Developers
Android For Java Developers
Mike Wolfson
Ā 
Android Deep Dive
Android Deep DiveAndroid Deep Dive
Android Deep Dive
Marko Gargenta
Ā 

Similar to Introduction to android (20)

Introduction to android
Introduction to androidIntroduction to android
Introduction to android
Aravindharamanan S
Ā 
My androidpresentation
My androidpresentationMy androidpresentation
My androidpresentation
niteshnarayanlal
Ā 
Android
AndroidAndroid
Android
Lina Shamiah
Ā 
Androidoverview 100405150711-phpapp01
Androidoverview 100405150711-phpapp01Androidoverview 100405150711-phpapp01
Androidoverview 100405150711-phpapp01
Santosh Sh
Ā 
Android
AndroidAndroid
Android
vaisakhtg
Ā 
01 03 - introduction to android
01  03 - introduction to android01  03 - introduction to android
01 03 - introduction to android
Siva Kumar reddy Vasipally
Ā 
Android Platform Architecture
Android Platform ArchitectureAndroid Platform Architecture
Android Platform Architecture
Naresh Chintalcheru
Ā 
Android My Seminar
Android My SeminarAndroid My Seminar
Android My Seminar
Ganesh Waghmare
Ā 
Android report.
Android report.Android report.
Android report.
Shivananda Rai
Ā 
Android ppt
Android pptAndroid ppt
Android ppt
Pooja Garg
Ā 
android
androidandroid
android
Akhil Kumar
Ā 
Android introduction
Android introductionAndroid introduction
Android introduction
Rahul Pola
Ā 
Introduction to Android.ppt
Introduction to Android.pptIntroduction to Android.ppt
Introduction to Android.ppt
ahmadfaisal744721
Ā 
Android
AndroidAndroid
Android
Tapan Khilar
Ā 
01 02 - introduction - adroid stack
01  02 - introduction - adroid stack01  02 - introduction - adroid stack
01 02 - introduction - adroid stack
Siva Kumar reddy Vasipally
Ā 
Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions new
Joe Jacob
Ā 
Android complete basic Guide
Android complete basic GuideAndroid complete basic Guide
Android complete basic Guide
AKASH SINGH
Ā 
Android Seminar || history || versions||application developement
Android Seminar || history || versions||application developement Android Seminar || history || versions||application developement
Android Seminar || history || versions||application developement
Shubham Pahune
Ā 
Ii 1300-java essentials for android
Ii 1300-java essentials for androidIi 1300-java essentials for android
Ii 1300-java essentials for android
Adrian Mikeliunas
Ā 
Getting started with android
Getting started with androidGetting started with android
Getting started with android
amitgb
Ā 
My androidpresentation
My androidpresentationMy androidpresentation
My androidpresentation
niteshnarayanlal
Ā 
Androidoverview 100405150711-phpapp01
Androidoverview 100405150711-phpapp01Androidoverview 100405150711-phpapp01
Androidoverview 100405150711-phpapp01
Santosh Sh
Ā 
Android
AndroidAndroid
Android
vaisakhtg
Ā 
Android Platform Architecture
Android Platform ArchitectureAndroid Platform Architecture
Android Platform Architecture
Naresh Chintalcheru
Ā 
Android My Seminar
Android My SeminarAndroid My Seminar
Android My Seminar
Ganesh Waghmare
Ā 
Android ppt
Android pptAndroid ppt
Android ppt
Pooja Garg
Ā 
Android introduction
Android introductionAndroid introduction
Android introduction
Rahul Pola
Ā 
Introduction to Android.ppt
Introduction to Android.pptIntroduction to Android.ppt
Introduction to Android.ppt
ahmadfaisal744721
Ā 
Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions new
Joe Jacob
Ā 
Android complete basic Guide
Android complete basic GuideAndroid complete basic Guide
Android complete basic Guide
AKASH SINGH
Ā 
Android Seminar || history || versions||application developement
Android Seminar || history || versions||application developement Android Seminar || history || versions||application developement
Android Seminar || history || versions||application developement
Shubham Pahune
Ā 
Ii 1300-java essentials for android
Ii 1300-java essentials for androidIi 1300-java essentials for android
Ii 1300-java essentials for android
Adrian Mikeliunas
Ā 
Getting started with android
Getting started with androidGetting started with android
Getting started with android
amitgb
Ā 
Ad

Recently uploaded (20)

Presentation mockup using lots of animals
Presentation mockup using lots of animalsPresentation mockup using lots of animals
Presentation mockup using lots of animals
ChunChihChenPhD
Ā 
Oversized Off White Pulka Dot Cotton Shirt
Oversized Off White Pulka Dot Cotton ShirtOversized Off White Pulka Dot Cotton Shirt
Oversized Off White Pulka Dot Cotton Shirt
ZNKL.in
Ā 
Take this ppt refference and give content on mahindra commitment to sustainab...
Take this ppt refference and give content on mahindra commitment to sustainab...Take this ppt refference and give content on mahindra commitment to sustainab...
Take this ppt refference and give content on mahindra commitment to sustainab...
kochars428
Ā 
Minimalist Pitch Deck by slide Slidesgo.pptx
Minimalist Pitch Deck by slide Slidesgo.pptxMinimalist Pitch Deck by slide Slidesgo.pptx
Minimalist Pitch Deck by slide Slidesgo.pptx
ESTEFANOANDREYGARCIA
Ā 
Internet Download Manager Crack Patch Latest IDM Free Download
Internet Download Manager Crack Patch Latest IDM Free DownloadInternet Download Manager Crack Patch Latest IDM Free Download
Internet Download Manager Crack Patch Latest IDM Free Download
Designer
Ā 
325295919-AAC-Blocks-Seminar-Presentation.pdf
325295919-AAC-Blocks-Seminar-Presentation.pdf325295919-AAC-Blocks-Seminar-Presentation.pdf
325295919-AAC-Blocks-Seminar-Presentation.pdf
shivsin165
Ā 
DOC-20250121-WA0008._20250121_105938_0000.pptx
DOC-20250121-WA0008._20250121_105938_0000.pptxDOC-20250121-WA0008._20250121_105938_0000.pptx
DOC-20250121-WA0008._20250121_105938_0000.pptx
laugolac31
Ā 
interpolacrcrdcrdrcrdctctfct frfctfction.ppt
interpolacrcrdcrdrcrdctctfct frfctfction.pptinterpolacrcrdcrdrcrdctctfct frfctfction.ppt
interpolacrcrdcrdrcrdctctfct frfctfction.ppt
pawan070201
Ā 
Design of a Low-Power VLSI Router for Network-on-Chip.pptx
Design of a Low-Power VLSI Router for Network-on-Chip.pptxDesign of a Low-Power VLSI Router for Network-on-Chip.pptx
Design of a Low-Power VLSI Router for Network-on-Chip.pptx
BapujiBanothu
Ā 
Baby panda 400.pdf de ciencias naturales
Baby panda 400.pdf de ciencias naturalesBaby panda 400.pdf de ciencias naturales
Baby panda 400.pdf de ciencias naturales
debbie loaiza
Ā 
Steam-Education-PowerPoint-Templates.pptx
Steam-Education-PowerPoint-Templates.pptxSteam-Education-PowerPoint-Templates.pptx
Steam-Education-PowerPoint-Templates.pptx
andripapa1
Ā 
An updated content measurement model - Elle Geraghty Content Strategy.pdf
An updated content measurement model - Elle Geraghty Content Strategy.pdfAn updated content measurement model - Elle Geraghty Content Strategy.pdf
An updated content measurement model - Elle Geraghty Content Strategy.pdf
Elle Geraghty
Ā 
PayPros-Journey-Overcoming-Challenges-Through-Governance.pptx
PayPros-Journey-Overcoming-Challenges-Through-Governance.pptxPayPros-Journey-Overcoming-Challenges-Through-Governance.pptx
PayPros-Journey-Overcoming-Challenges-Through-Governance.pptx
rayyansiddiqui034
Ā 
Minimalist Business Slides XL by Slidesgo.pptx
Minimalist Business Slides XL by Slidesgo.pptxMinimalist Business Slides XL by Slidesgo.pptx
Minimalist Business Slides XL by Slidesgo.pptx
karenalavamoran
Ā 
Modern Gradient Startup Pitch Deck PowerPoint Presentation and Google Slides ...
Modern Gradient Startup Pitch Deck PowerPoint Presentation and Google Slides ...Modern Gradient Startup Pitch Deck PowerPoint Presentation and Google Slides ...
Modern Gradient Startup Pitch Deck PowerPoint Presentation and Google Slides ...
SlidesBrain
Ā 
Lori Vanzant Online Presence. Take a look!
Lori Vanzant Online Presence. Take a look!Lori Vanzant Online Presence. Take a look!
Lori Vanzant Online Presence. Take a look!
vanzan01
Ā 
Doodle Table of Contents Infographics by Slidesgo.pptx
Doodle Table of Contents Infographics by Slidesgo.pptxDoodle Table of Contents Infographics by Slidesgo.pptx
Doodle Table of Contents Infographics by Slidesgo.pptx
binhyennghlu
Ā 
Hi! I'm Lori Vanzant. Please take a look
Hi! I'm Lori Vanzant. Please take a lookHi! I'm Lori Vanzant. Please take a look
Hi! I'm Lori Vanzant. Please take a look
vanzan01
Ā 
19 Best B,u,y Verified Cash App Accounts
19 Best B,u,y Verified Cash App Accounts19 Best B,u,y Verified Cash App Accounts
19 Best B,u,y Verified Cash App Accounts
https://sellsusa.com/product/buy-verified-cash-app-accounts/
Ā 
EEE178-PPT-Theme iasodhajsdkjashdlaskdjbaksdkashdlkasdlkja;dj;kdada.pptx.pdf
EEE178-PPT-Theme iasodhajsdkjashdlaskdjbaksdkashdlkasdlkja;dj;kdada.pptx.pdfEEE178-PPT-Theme iasodhajsdkjashdlaskdjbaksdkashdlkasdlkja;dj;kdada.pptx.pdf
EEE178-PPT-Theme iasodhajsdkjashdlaskdjbaksdkashdlkasdlkja;dj;kdada.pptx.pdf
CastroAngeloReoD
Ā 
Presentation mockup using lots of animals
Presentation mockup using lots of animalsPresentation mockup using lots of animals
Presentation mockup using lots of animals
ChunChihChenPhD
Ā 
Oversized Off White Pulka Dot Cotton Shirt
Oversized Off White Pulka Dot Cotton ShirtOversized Off White Pulka Dot Cotton Shirt
Oversized Off White Pulka Dot Cotton Shirt
ZNKL.in
Ā 
Take this ppt refference and give content on mahindra commitment to sustainab...
Take this ppt refference and give content on mahindra commitment to sustainab...Take this ppt refference and give content on mahindra commitment to sustainab...
Take this ppt refference and give content on mahindra commitment to sustainab...
kochars428
Ā 
Minimalist Pitch Deck by slide Slidesgo.pptx
Minimalist Pitch Deck by slide Slidesgo.pptxMinimalist Pitch Deck by slide Slidesgo.pptx
Minimalist Pitch Deck by slide Slidesgo.pptx
ESTEFANOANDREYGARCIA
Ā 
Internet Download Manager Crack Patch Latest IDM Free Download
Internet Download Manager Crack Patch Latest IDM Free DownloadInternet Download Manager Crack Patch Latest IDM Free Download
Internet Download Manager Crack Patch Latest IDM Free Download
Designer
Ā 
325295919-AAC-Blocks-Seminar-Presentation.pdf
325295919-AAC-Blocks-Seminar-Presentation.pdf325295919-AAC-Blocks-Seminar-Presentation.pdf
325295919-AAC-Blocks-Seminar-Presentation.pdf
shivsin165
Ā 
DOC-20250121-WA0008._20250121_105938_0000.pptx
DOC-20250121-WA0008._20250121_105938_0000.pptxDOC-20250121-WA0008._20250121_105938_0000.pptx
DOC-20250121-WA0008._20250121_105938_0000.pptx
laugolac31
Ā 
interpolacrcrdcrdrcrdctctfct frfctfction.ppt
interpolacrcrdcrdrcrdctctfct frfctfction.pptinterpolacrcrdcrdrcrdctctfct frfctfction.ppt
interpolacrcrdcrdrcrdctctfct frfctfction.ppt
pawan070201
Ā 
Design of a Low-Power VLSI Router for Network-on-Chip.pptx
Design of a Low-Power VLSI Router for Network-on-Chip.pptxDesign of a Low-Power VLSI Router for Network-on-Chip.pptx
Design of a Low-Power VLSI Router for Network-on-Chip.pptx
BapujiBanothu
Ā 
Baby panda 400.pdf de ciencias naturales
Baby panda 400.pdf de ciencias naturalesBaby panda 400.pdf de ciencias naturales
Baby panda 400.pdf de ciencias naturales
debbie loaiza
Ā 
Steam-Education-PowerPoint-Templates.pptx
Steam-Education-PowerPoint-Templates.pptxSteam-Education-PowerPoint-Templates.pptx
Steam-Education-PowerPoint-Templates.pptx
andripapa1
Ā 
An updated content measurement model - Elle Geraghty Content Strategy.pdf
An updated content measurement model - Elle Geraghty Content Strategy.pdfAn updated content measurement model - Elle Geraghty Content Strategy.pdf
An updated content measurement model - Elle Geraghty Content Strategy.pdf
Elle Geraghty
Ā 
PayPros-Journey-Overcoming-Challenges-Through-Governance.pptx
PayPros-Journey-Overcoming-Challenges-Through-Governance.pptxPayPros-Journey-Overcoming-Challenges-Through-Governance.pptx
PayPros-Journey-Overcoming-Challenges-Through-Governance.pptx
rayyansiddiqui034
Ā 
Minimalist Business Slides XL by Slidesgo.pptx
Minimalist Business Slides XL by Slidesgo.pptxMinimalist Business Slides XL by Slidesgo.pptx
Minimalist Business Slides XL by Slidesgo.pptx
karenalavamoran
Ā 
Modern Gradient Startup Pitch Deck PowerPoint Presentation and Google Slides ...
Modern Gradient Startup Pitch Deck PowerPoint Presentation and Google Slides ...Modern Gradient Startup Pitch Deck PowerPoint Presentation and Google Slides ...
Modern Gradient Startup Pitch Deck PowerPoint Presentation and Google Slides ...
SlidesBrain
Ā 
Lori Vanzant Online Presence. Take a look!
Lori Vanzant Online Presence. Take a look!Lori Vanzant Online Presence. Take a look!
Lori Vanzant Online Presence. Take a look!
vanzan01
Ā 
Doodle Table of Contents Infographics by Slidesgo.pptx
Doodle Table of Contents Infographics by Slidesgo.pptxDoodle Table of Contents Infographics by Slidesgo.pptx
Doodle Table of Contents Infographics by Slidesgo.pptx
binhyennghlu
Ā 
Hi! I'm Lori Vanzant. Please take a look
Hi! I'm Lori Vanzant. Please take a lookHi! I'm Lori Vanzant. Please take a look
Hi! I'm Lori Vanzant. Please take a look
vanzan01
Ā 
EEE178-PPT-Theme iasodhajsdkjashdlaskdjbaksdkashdlkasdlkja;dj;kdada.pptx.pdf
EEE178-PPT-Theme iasodhajsdkjashdlaskdjbaksdkashdlkasdlkja;dj;kdada.pptx.pdfEEE178-PPT-Theme iasodhajsdkjashdlaskdjbaksdkashdlkasdlkja;dj;kdada.pptx.pdf
EEE178-PPT-Theme iasodhajsdkjashdlaskdjbaksdkashdlkasdlkja;dj;kdada.pptx.pdf
CastroAngeloReoD
Ā 
Ad

Introduction to android

  • 1. An Introduction to Android Huang Xuguang Database Lab. Inha University 2009.11.2 Email: [email protected]
  • 2. Outline • Background • What is Android? • Development for Android
  • 4. Internet users and Mobile phone users Source: http://en.wikipedia.org/wiki/Digital_divide
  • 5. Open Handset Alliance(OHA) Handset Manufacturers Mobile Operators Semiconductor Companies Software Companies Commercialization Companies Source: http://www.openhandsetalliance.com
  • 7. Androidā„¢ delivers a complete set of software for mobile devices: an operating system, middleware and key mobile applications. Open All application and Created equal Breaking down application boundaries Fast & easy application development
  • 8. History of Android • 2001 search service for wireless device • 2005 – Acquire Android(Andy Rubin: Danger CEO, Development Sidekick of T-Mobile) – Acquire Skia (2D Graphics for mobile device) – Acquire RegWireless (Browser and Email for mobile device) – Move Engineers from PlamSource (Dianne Hackborn, etc…) • 2007 Nov 5: Android announced • 2007 Nov 12: Android SDK released by OHA • 2007 Dec 14: Bug-fix SDK released • 2008 Jan 3: Android Developer Challenge I starts accepting submissions • 2008 Feb 13: m5-rc15 SDK released • 2008 Apr 14: 1788 total submissions for Challenge I • 2008 May 12: Top 50 Applications in Challenge I announced • 2008 Nov: Android Phone(G1 Phone by HTC/T-mobile) • 2008 Nov: Full Source Open • 2009 Apr: HTC Magic • 2009 July: HTC Hero, Samsung i7500, Android Netbook, Set-top…… • 2009 Aug: Android Developer Challenge II
  • 9. Open Users Industry Developer Users Industry Users have control of Developer Software stack open- their experience Don not need sourced under Apache They control what permission to ship an 2.0 license gets installed application Source available after They choose the No hidden or privileged first handsets ship defaults framework APIs Anyone will be able to Can integrate, extend build a system image and replace existing components
  • 10. Integrate Extended Replace
  • 12. Details of Architecture(1/4) Linux Version 2.6.x for core system services Android uses only ā€œKernelā€ portion in Linux Core Libraries Provides the functionality of the JAVA Programming Language Android Application runs in its own process, with its own instance of the Dalvik virtual machine Dalvik VM: Java based license free VM •Register based VM, optimization for low memory requirements •Executes files in the Dalvik Executable (.dex) format •DX tool converts classes to .dex format
  • 13. Details of Architecture(2/4) • Libc: c standard lib. • SSL: Secure Socket Layer • SGL: 2D image engine • OpenGL|ES: 3D image engine • Media Framework: Core part of Android multi-media • SQLite: Embedded database • WebKit: Kernel of web browser • FreeType: Bitmap and Vector • Sufrace Manager: Manage difference windows for different applications
  • 14. Details of Architecture(3/4) • No limited application • Equality of each apps. • Easy to embedded web browser • Parallel running
  • 15. Details of Architecture(4/4) • The Design goal of Android: Openness – Be as flexible as possible Java – How it handles access to data: Mash up on the internet and everything C/C++ else – Rapid development(XML, Java) • Develop Language C – App: Java – Framework: Java – Libraries: C/C++ – OS & Driver: C
  • 17. Application Architecture • Dev. Language: Java • Virtual Machine: – Dalvik VM, not JVM. – Open source • Application: consists of one or more of the following classifications – Activities – Services Dalvik Virtual Machine – Content providers – Broadcast receivers
  • 18. Android SDK • android.jar Java archive file containing all of the Android SDK classes necessary to build your application. • documention.html and docs directory The SDK documentation is provided locally and on the Web. It's largely in the form of JavaDocs, making it easy to navigate the many packages in the SDK. The documentation also includes a high- level Development Guide and links to the broader Android community. • Samples directory The samples subdirectory contains full source code for a variety of applications, including Api Demo, which exercises many APIs. The sample application is a great place to explore when starting Android application development. • Tools directory Contains all of the command-line tools to build Android applications. The most commonly employed and useful tool is the adb utility (Android Debug Bridge). • Usb_driver Directory containing the necessary drivers to connect the development environment to an Android-enabled device, such as the G1 or the Android Dev 1 unlocked development phone. These files are only required for developers using the Windows platform.
  • 19. Tools • Emulator – Android applications may be run on a real device or on the Android Emulator, which ships with the Android SDK. • ADB (Android Debug Bridge) – The ADB utility lets you connect to the phone itself and issue rudimentary shell commands, such as copying files to and from the device.
  • 20. Development Environments • Eclipse 3.2.3.3 • Eclipse JDT Plugin • JDK 5 or 6 • ADT:Android Development Tools plug-in Example: HelloWorld Running on Emulator
  • 21. Cases
  • 23. Summary • Benefits – Open Platform/License Free – Robust OS Kernel, Innovative Library Packages – Ease App. Development – Rapid Improvement • Challenges – Performance Consideration – Hard to Integrate for Vendors – Too Much Google Dependent • Key Factor: Market Response
  • 24. References • An Introduction to Android. Jason Chen, 2008 • Introduction to Android Development. Frank Ableson, May 12, 2009 – http://www.ibm.com/developerworks/opensource/library/os-android- devel/index.html?S_TACT=105AGX52&S_CMP=content • Homepage of OHA – http://www.openhandsetalliance.com/ • Introduction to Android Development. Ed Burnette, 2009 • Android Overview. ģ“ģŠ¹ėÆ¼, Oct 27, 2009
  • 25. Resources • http://developer.android.com – Home page for Android development and documentation • http://groups.google.com/group/android-beginners – Forum for development questions (beginner) • http://groups.google.com/group/android-developers – Forum for development questions (advanced) • http://www.planetandroid.com – Blogs and news from around the Android community • http://pragprog.com/titles/eband – <book> Hello, Android: Introducing Google’s Mobile Development Platform • Videos Android 1.6 office show: http://www.youtube.com/watch?v=MBRFkLKRwFw Android architecture: I: http://www.youtube.com/watch?v=QBGfUs9mQYY II: http://www.youtube.com/watch?v=fL6gSd4ugSI III: http://www.youtube.com/watch?v=MPukbH6D-lY Android Introduction by google I/O 2008: http://www.youtube.com/watch?v=x1ZZ-R3p_w8