SlideShare uma empresa Scribd logo
1 de 39
Baixar para ler offline
Session #1

05-02-2012   http://www.iwillstudy.com/group/android
Mobile Ecosystem

                OEM

    Service            Developers
    Provider


               Users
Mobile Operating Systems
   Android
   Symbian
   iOS
   Blackberry OS
   Samsung Bada
   Windows Mobile
   Windows Phone 7
Key Differences: Android vs. iPhone

        iPhone                           Android
   OS is proprietary               OS is open source
   OS runs on iPhone or iPod       OS can be licensed for
    Touches only                     any mobile device
   Apps written in Objective-      Apps written in Java
    C                               Dev tools for many OS’s
   Dev tools Mac-only              No approval process for
   Apple must approve all           apps  Android Market
    apps  Application Store        All apps considered
                                     equal (choose your
                                     browser)
Android History
   Founded in 2003.
   Acquired by Google in August 2005
   OHA was firmed in November 2007.
   Since October 2008 Android has been available
    under a Free Space Software/Open Source License.
Open Handset Alliance (OHA)
Open Handset Alliance (OHA)
Open Handset Alliance (OHA)
Android Versions

                                                 Distribution      API level     %

                                                 1.5 Cupcake       3           0.6%
                                   1.5
      1.0          1.1
                                Cup Cake
   Sept 2008    Feb 2009                         1.6 Donut         4           1.0%
                                April 2009

                                                 2.0, 2.1 Eclair   7           7.6%
      1.6       2.0/2.1            2.2
     Donut       Éclair           Froyo          2.2 Froyo         8           27.8%
   Sept 2009    Oct 2009        May 2002
                                                 2.3.x Gingerbr
                                                                9-10           58.6%
                                                 ead
   2.3/2.3.3        3.X             4.0
  Gingerbread   Honeycomb   Ice-Cream Sandwich   3.x.x Honeyco
                                                               11-13           3.4%
   Dec 2010      Feb 2011        Oct 2011        mb
                                                 4.0.x Ice
Usage share of the different                     Cream             14-16       1.0%
                                                 Sandwich
versions, by February 1, 2011
Google Services
   Gmail
   Maps
   Docs
   Latitude
   Calendar
   Google Talk
Market Place



  Market?   Revenue?    Free    Review
                       Apps?   Systems?
Why Android is growing?

             • Open Source
Developers   • Free SDK
             • Easy To Use APIs


             • Free
  OEMs       • Open Standards (Design/Hardware)



  Service    • Suits Business Model
 Providers   • Huge Market Space
Introduction to Android Platform
     Android is an open software platform for mobile
      development.
Android Architecture
Linux Kernel



   The architecture is based on the Linux 2.6 kernel.
    Android use Linux kernel as its hardware abstraction
    layer.
   It also provides memory management, process
    management, a security model, and
    networking, a lot of core operating system
    infrastructures that are robust and have been proven
    over time.
Native Libraries




 The next level up is the native libraries.
  Everything that you see here in green is written
  in C and C++.
 It's at this level where a lot of the core power

  of the Android platform comes from.
Android Run Time
Android Run Time
Application Framework
Application Framework
Application Framework
Application Framework
Application Framework
Applications




   And the final layer on top is Applications.
   This is where all the applications get written.
   It includes the home application, the contacts application, the
    browser, and your apps.
   And everything at this layer is, again, using the same app
    framework provided by the layers below.
Application Building Blocks
   Now, if you're going to write an app, the first step is to
    decompose it into the components that are supported by
    the Android platform.
                           • UI component typically corresponding to
           Activity          one screen.

                           • Responds to notification or status changes.
       Intent Receiver       Can wake up your process.


           Service         • Faceless task that runs in the background.


      Content Provider     • Enable applications to share data
Application Building Blocks



An activity is a single, focused
 thing that the user can do.
Activity Lifecycle

Actual Representation
Actual Representation




                        Component
                        Lifecycles
Application Building Blocks



 They are nothing Else but
  messages.
 We need to intent if we need to
  start any Activity , Service or
  Broadcast Messages.
An Activity Diagram




  Activity One   Intent   Activity Two
Application Building Blocks



   A service run in the background.
   User for long running task.
   A good example is a music player.
   A Service is not a separate process and A
    Service is not a thread.
Component Services


                 Notification


               Communication
                                 Service
                 Pause/rewind              Background running
                 /stop/restart             for playback
Media Player
  Activity            Binder
Application Building Blocks



   Content providers store and retrieve data and
    make it accessible to all applications.
    This is only way to share data across applications.
   Examples of Content Provider – Contacts, SMS,
    Calendar, User Define etc.. And NOT email
Components - Content Providers

                            Application

                                Activity       Activity
 Application                                               Application

         Activity                  Content Resolver                Service


  Content Resolver                  Content Provider        Content Resolver




                                                          Remote
                     Data           SQLite      XML        Store
   Let’s make our First AVD
     Android Virtual Device
IDE + Hello World + Program
Structure
      Lets jump into programming now !!




Learning Android is as simple as biting an Apple!
Installations
       &
Configuration
Installation Resources
   At Least 2GB of Ram minimum.
   Install Java Run Time.
   Copy Android SDK directories into your system
   Install Android SDK manager
   Get Eclipse
   Add ADT plug-in to Eclipse
   Get Android SDK directory on eclipse
SESSION 1 OVER

Mais conteúdo relacionado

Mais procurados

Android architecture
Android architectureAndroid architecture
Android architecture
Hari Krishna
 

Mais procurados (20)

Android OS and its Features
Android OS and its FeaturesAndroid OS and its Features
Android OS and its Features
 
Android Basic Concept
Android Basic Concept Android Basic Concept
Android Basic Concept
 
Basic android-ppt
Basic android-pptBasic android-ppt
Basic android-ppt
 
Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android
 
Android architecture
Android architectureAndroid architecture
Android architecture
 
Android Application Development
Android Application DevelopmentAndroid Application Development
Android Application Development
 
Android report.
Android report.Android report.
Android report.
 
Basic of Android App Development
Basic of Android App DevelopmentBasic of Android App Development
Basic of Android App Development
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development ppt
 
Android : Architecture & Components
Android : Architecture & ComponentsAndroid : Architecture & Components
Android : Architecture & Components
 
Android Training Report
Android Training ReportAndroid Training Report
Android Training Report
 
Introduction to Android Environment
Introduction to Android EnvironmentIntroduction to Android Environment
Introduction to Android Environment
 
Android workShop
Android workShopAndroid workShop
Android workShop
 
PPT on Android
PPT on AndroidPPT on Android
PPT on Android
 
Android Report
Android ReportAndroid Report
Android Report
 
Android architecture
Android architectureAndroid architecture
Android architecture
 
Evolution of android operating system
Evolution of android operating systemEvolution of android operating system
Evolution of android operating system
 
Versions of Android OS
Versions of Android OSVersions of Android OS
Versions of Android OS
 
Android OS
Android OSAndroid OS
Android OS
 
Android OS by Prasad & Sarang
Android OS by Prasad & SarangAndroid OS by Prasad & Sarang
Android OS by Prasad & Sarang
 

Destaque

Android Workshop Presentation
Android Workshop PresentationAndroid Workshop Presentation
Android Workshop Presentation
NAILBITER
 
Android Workshop - Session 2
Android Workshop - Session 2Android Workshop - Session 2
Android Workshop - Session 2
NAILBITER
 
Android seminar ppt
Android seminar pptAndroid seminar ppt
Android seminar ppt
chakrapani tripathi
 
Android seminar-presentation
Android seminar-presentationAndroid seminar-presentation
Android seminar-presentation
connectshilpa
 

Destaque (7)

Android ppt
Android pptAndroid ppt
Android ppt
 
Android ppt
Android ppt Android ppt
Android ppt
 
Android Workshop Presentation
Android Workshop PresentationAndroid Workshop Presentation
Android Workshop Presentation
 
Android Workshop - Session 2
Android Workshop - Session 2Android Workshop - Session 2
Android Workshop - Session 2
 
Android Workshop PPT
Android Workshop PPTAndroid Workshop PPT
Android Workshop PPT
 
Android seminar ppt
Android seminar pptAndroid seminar ppt
Android seminar ppt
 
Android seminar-presentation
Android seminar-presentationAndroid seminar-presentation
Android seminar-presentation
 

Semelhante a Android Workshop Session 1

Day1 what is android(print)
Day1 what is android(print)Day1 what is android(print)
Day1 what is android(print)
Dongchul Shin
 
Android platform
Android platformAndroid platform
Android platform
maya_slides
 
presentation2-141101015616-conversion-gate01.pdf
presentation2-141101015616-conversion-gate01.pdfpresentation2-141101015616-conversion-gate01.pdf
presentation2-141101015616-conversion-gate01.pdf
imau6
 

Semelhante a Android Workshop Session 1 (20)

Android Fundamentals & Figures of 2012
Android Fundamentals & Figures of 2012Android Fundamentals & Figures of 2012
Android Fundamentals & Figures of 2012
 
Day1 what is android(print)
Day1 what is android(print)Day1 what is android(print)
Day1 what is android(print)
 
Android platform
Android platform Android platform
Android platform
 
Android icecream sandwich
Android icecream sandwichAndroid icecream sandwich
Android icecream sandwich
 
Android platform
Android platformAndroid platform
Android platform
 
Android4.0 and retina display
Android4.0 and retina displayAndroid4.0 and retina display
Android4.0 and retina display
 
Pp2
Pp2Pp2
Pp2
 
Android
AndroidAndroid
Android
 
Android
AndroidAndroid
Android
 
Presentation on Android operating system
Presentation on Android operating systemPresentation on Android operating system
Presentation on Android operating system
 
Android
AndroidAndroid
Android
 
Android terminologies
Android terminologiesAndroid terminologies
Android terminologies
 
Android operating system
Android operating systemAndroid operating system
Android operating system
 
Slides bootcamp21
Slides bootcamp21Slides bootcamp21
Slides bootcamp21
 
Android
AndroidAndroid
Android
 
presentation2-141101015616-conversion-gate01.pdf
presentation2-141101015616-conversion-gate01.pdfpresentation2-141101015616-conversion-gate01.pdf
presentation2-141101015616-conversion-gate01.pdf
 
Saminar ppt of
Saminar ppt ofSaminar ppt of
Saminar ppt of
 
Battle of Music: SDK from iPhone, Nokia, BlackBerry, Android, Palm
Battle of Music: SDK from iPhone, Nokia, BlackBerry, Android, PalmBattle of Music: SDK from iPhone, Nokia, BlackBerry, Android, Palm
Battle of Music: SDK from iPhone, Nokia, BlackBerry, Android, Palm
 
Android
Android Android
Android
 
Android
AndroidAndroid
Android
 

Mais de NAILBITER

Cloud Workshop - Presentation
Cloud Workshop - PresentationCloud Workshop - Presentation
Cloud Workshop - Presentation
NAILBITER
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
NAILBITER
 
iWillStudy.com - Light Pitch
iWillStudy.com - Light PitchiWillStudy.com - Light Pitch
iWillStudy.com - Light Pitch
NAILBITER
 
Develop open source search engine
Develop open source search engineDevelop open source search engine
Develop open source search engine
NAILBITER
 

Mais de NAILBITER (20)

Social Media Strategies
Social Media StrategiesSocial Media Strategies
Social Media Strategies
 
jQuery for Beginners
jQuery for Beginners jQuery for Beginners
jQuery for Beginners
 
GBGahmedabad - Create your Business Website
GBGahmedabad - Create your Business WebsiteGBGahmedabad - Create your Business Website
GBGahmedabad - Create your Business Website
 
Mapathon 2013 - Google Maps Javascript API
Mapathon 2013 - Google Maps Javascript APIMapathon 2013 - Google Maps Javascript API
Mapathon 2013 - Google Maps Javascript API
 
Cloud Workshop - Presentation
Cloud Workshop - PresentationCloud Workshop - Presentation
Cloud Workshop - Presentation
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
iWillStudy.com - Light Pitch
iWillStudy.com - Light PitchiWillStudy.com - Light Pitch
iWillStudy.com - Light Pitch
 
Cloud Summit Ahmedabad
Cloud Summit AhmedabadCloud Summit Ahmedabad
Cloud Summit Ahmedabad
 
The iPhone development on windows
The iPhone development on windowsThe iPhone development on windows
The iPhone development on windows
 
Ambastha EduTech Pvt Ltd
Ambastha EduTech Pvt LtdAmbastha EduTech Pvt Ltd
Ambastha EduTech Pvt Ltd
 
Branding
BrandingBranding
Branding
 
Advertising
AdvertisingAdvertising
Advertising
 
Develop open source search engine
Develop open source search engineDevelop open source search engine
Develop open source search engine
 
Location based solutions maps & your location
Location based solutions   maps & your locationLocation based solutions   maps & your location
Location based solutions maps & your location
 
Html5 workshop part 1
Html5 workshop part 1Html5 workshop part 1
Html5 workshop part 1
 
Linux Seminar for Beginners
Linux Seminar for BeginnersLinux Seminar for Beginners
Linux Seminar for Beginners
 
Linux advanced concepts - Part 2
Linux advanced concepts - Part 2Linux advanced concepts - Part 2
Linux advanced concepts - Part 2
 
Linux advanced concepts - Part 1
Linux advanced concepts - Part 1Linux advanced concepts - Part 1
Linux advanced concepts - Part 1
 
Linux concepts
Linux conceptsLinux concepts
Linux concepts
 
Linux basics
Linux basicsLinux basics
Linux basics
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

Android Workshop Session 1

  • 1. Session #1 05-02-2012 http://www.iwillstudy.com/group/android
  • 2. Mobile Ecosystem OEM Service Developers Provider Users
  • 3. Mobile Operating Systems  Android  Symbian  iOS  Blackberry OS  Samsung Bada  Windows Mobile  Windows Phone 7
  • 4. Key Differences: Android vs. iPhone iPhone Android  OS is proprietary  OS is open source  OS runs on iPhone or iPod  OS can be licensed for Touches only any mobile device  Apps written in Objective-  Apps written in Java C  Dev tools for many OS’s  Dev tools Mac-only  No approval process for  Apple must approve all apps  Android Market apps  Application Store  All apps considered equal (choose your browser)
  • 5. Android History  Founded in 2003.  Acquired by Google in August 2005  OHA was firmed in November 2007.  Since October 2008 Android has been available under a Free Space Software/Open Source License.
  • 9. Android Versions Distribution API level % 1.5 Cupcake 3 0.6% 1.5 1.0 1.1 Cup Cake Sept 2008 Feb 2009 1.6 Donut 4 1.0% April 2009 2.0, 2.1 Eclair 7 7.6% 1.6 2.0/2.1 2.2 Donut Éclair Froyo 2.2 Froyo 8 27.8% Sept 2009 Oct 2009 May 2002 2.3.x Gingerbr 9-10 58.6% ead 2.3/2.3.3 3.X 4.0 Gingerbread Honeycomb Ice-Cream Sandwich 3.x.x Honeyco 11-13 3.4% Dec 2010 Feb 2011 Oct 2011 mb 4.0.x Ice Usage share of the different Cream 14-16 1.0% Sandwich versions, by February 1, 2011
  • 10. Google Services  Gmail  Maps  Docs  Latitude  Calendar  Google Talk
  • 11. Market Place Market? Revenue? Free Review Apps? Systems?
  • 12. Why Android is growing? • Open Source Developers • Free SDK • Easy To Use APIs • Free OEMs • Open Standards (Design/Hardware) Service • Suits Business Model Providers • Huge Market Space
  • 13. Introduction to Android Platform  Android is an open software platform for mobile development.
  • 15. Linux Kernel  The architecture is based on the Linux 2.6 kernel. Android use Linux kernel as its hardware abstraction layer.  It also provides memory management, process management, a security model, and networking, a lot of core operating system infrastructures that are robust and have been proven over time.
  • 16. Native Libraries  The next level up is the native libraries. Everything that you see here in green is written in C and C++.  It's at this level where a lot of the core power of the Android platform comes from.
  • 24. Applications  And the final layer on top is Applications.  This is where all the applications get written.  It includes the home application, the contacts application, the browser, and your apps.  And everything at this layer is, again, using the same app framework provided by the layers below.
  • 25. Application Building Blocks  Now, if you're going to write an app, the first step is to decompose it into the components that are supported by the Android platform. • UI component typically corresponding to Activity one screen. • Responds to notification or status changes. Intent Receiver Can wake up your process. Service • Faceless task that runs in the background. Content Provider • Enable applications to share data
  • 26. Application Building Blocks An activity is a single, focused thing that the user can do. Activity Lifecycle Actual Representation
  • 27.
  • 28. Actual Representation Component Lifecycles
  • 29. Application Building Blocks  They are nothing Else but messages.  We need to intent if we need to start any Activity , Service or Broadcast Messages.
  • 30. An Activity Diagram Activity One Intent Activity Two
  • 31. Application Building Blocks  A service run in the background.  User for long running task.  A good example is a music player.  A Service is not a separate process and A Service is not a thread.
  • 32. Component Services Notification Communication Service Pause/rewind Background running /stop/restart for playback Media Player Activity Binder
  • 33. Application Building Blocks  Content providers store and retrieve data and make it accessible to all applications.  This is only way to share data across applications.  Examples of Content Provider – Contacts, SMS, Calendar, User Define etc.. And NOT email
  • 34. Components - Content Providers Application Activity Activity Application Application Activity Content Resolver Service Content Resolver Content Provider Content Resolver Remote Data SQLite XML Store
  • 35. Let’s make our First AVD Android Virtual Device
  • 36. IDE + Hello World + Program Structure Lets jump into programming now !! Learning Android is as simple as biting an Apple!
  • 37. Installations & Configuration
  • 38. Installation Resources  At Least 2GB of Ram minimum.  Install Java Run Time.  Copy Android SDK directories into your system  Install Android SDK manager  Get Eclipse  Add ADT plug-in to Eclipse  Get Android SDK directory on eclipse