SlideShare una empresa de Scribd logo
1 de 16
ANDROID
DEVELOPMENT
ARCHITECTURE &
BASICS
Krishna Engineering College, Coimbatore
Agenda
   Programming for Mobile Devices
   Google Android – an Introduction
   Android – Architecture
   Android – Basics
   Basic Code Demos
   Discussions
Programming for Mobile
Devices
   Q: Why Mobile Devices are Better then
    Computers.
   The Advantages of Mobile Computing
       Handheld Device access to any required information
           Contacts, Calendar, Quick Notes, Photo & Video, Music…
     Feature Phones, Smart Phones and PDA
     Business Opportunities – Design, Development,
      Testing
     Edutainment, Business, Infotainment, Social
      Networking
   Constraints
     Small Size and Low power Handsets
     Operating Systems, Screen Size, Memory, Processor,
Mobile Operating Systems
   Quick Review
     Symbian  OS – Nokia / Samsung [Feature
      Phones/ Smart Phones]
     I-Phone – Apple iOS

     Black berry – Research In Motion [RIM]
      Blackberry OS
     Android – Google Android OS

     Windows Mobile – Microsoft Windows CE /
      Windows Phone 7
The Business Market of Android
              Share of worldwide 2011 Q2 Smartphone
              sales to end users by operating system,
              according to Gartner. Gartner, Inc.
              (NYSE: IT) is an information technology
              research       and    advisory      firm
              headquartered in Stamford, Connecticut,
              United States.
Google Android – An
Introduction
   Originally released in 2008
   Open Source Platform - Android Open Source
    Project (AOSP) – from Google Code Project
   Hardware Support – Intel, ARM, HTC, Motorola
    and Samsung
   Google's proprietary applications - Maps,
    Calendar, and Gmail, and a full HTML web
    browser [a different version of Google Chrome].
   Android App Store – User Generated Apps
   Jan 2010 – Nexus One Phone with Android OS –
    by Google Inc.
Android Version History
   2.0 (Eclair)
     New web browser,
     Updated User interface
     Support for HTML5 and the W3C Geolocation API.
     Enhanced camera app with features like digital zoom,
      flash, color effects, and more.
   2.1 (Eclair)
     Support for voice controls throughout the entire OS.
     Launcher, with 5 home-screens, animated
      backgrounds
     Weather app, and improved functionality in the Email
      and Phonebook apps.
Android Version History
   2.2 (Froyo)
     Performance improvements with JIT optimization and
      the Chrome V8 JavaScript engine, and added Wi-Fi
      hotspot tethering and Adobe Flash support
     2.3 (Gingerbread)
           Enhanced User interface, improved the soft keyboard and
            copy/paste features, and added support for Near Field
            Communication
       3.0 (Honeycomb)
         tablet-oriented larger screen devices and introduces many
          new user interface features
         supports multi-core processors and hardware acceleration
          for graphics.
Android Version History
   3.1 (Honeycomb)
     Google  I/O to allow honeycomb devices to
     directly transfer content from USB devices
   3.2 (Honeycomb)
     incremental release
     Optimization for a broader range of screen sizes
     Load media files directly from the SD card

   Future releases that have been announced
    include:
     4.0(Ice Cream Sandwich) is said to be a
     combination of Gingerbread and Honeycomb into
     a "cohesive whole". It will be released in Q4 2011
Android – Platform Architecture
Important features of Android
   VGA, 2D Graphics Support. 3D Graphics with
    OpenGL 2.0 Libraries
   Relational Data Storage with SQL-Lite
   Connectivity: GSM/Edge, CDMA, Bluetooth,
    WiMAX, Wi-Fi
   SMS, MMS and Push Messaging
   WebKit – Chrome V8 Javascript Engine Browser
   Audio, Video, Image – all mobile formats
   Streaming Media Support [RTSP]
   Video Calling and Voice based Features
   Complete Multi-Tasking
Android Basics
   Sample Hello World – Code
Android Basics
   View
       UI Element
       Button, Label, Text Field … etc
   Activity
       Single Screen UI
   Intent
       Method + Process to do any Task
            Launch an Activity or Send a Message, etc
   Content Provider
       Data Sharing Connectivity between apps.
   Service
       Background Process
            Local
                    Local services are components that are only accessible by the application that is hosting the service
            Remote
                    remote services are services that are meant to be accessed remotely by other   applications
                     running on the device.
   AndroidManifest.xml
       AndroidManifest.xml, which is similar to the web.xml
        file in the J2EE world, defines thecontents and
        behavior of your application. For example, it lists your
        application’s activities and services, along with the
        permissions the application needs to run.
   Android Virtual Devices
       An Android Virtual Device (AVD) allows developers to
        test their applications without hooking up an actual
        Android phone. AVDs can be created in various
        configurations to emulate different types of real
        phones.
Code and Run
Discussions…
muthugv@ovi.com
9894238404
http://office.gvmuthu.com
http://twitter.com/#!/gvmuthu

Más contenido relacionado

La actualidad más candente

Android Basic By Ankit Shandilya
Android Basic By Ankit ShandilyaAndroid Basic By Ankit Shandilya
Android Basic By Ankit Shandilya
Ankit Shandilya
 
Android application development(training) (1)
Android application development(training) (1)Android application development(training) (1)
Android application development(training) (1)
Suraj Soni
 

La actualidad más candente (20)

Android Technology
Android TechnologyAndroid Technology
Android Technology
 
Android technology
Android technologyAndroid technology
Android technology
 
Introduction to Android | Android Tutorials | Android Blog - SearchforSolutio...
Introduction to Android | Android Tutorials | Android Blog - SearchforSolutio...Introduction to Android | Android Tutorials | Android Blog - SearchforSolutio...
Introduction to Android | Android Tutorials | Android Blog - SearchforSolutio...
 
Android 12 features preview so far
Android 12 features preview so farAndroid 12 features preview so far
Android 12 features preview so far
 
Google phones - android
Google phones  -  androidGoogle phones  -  android
Google phones - android
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Introduction to Android development - Presentation Report
Introduction to Android development - Presentation ReportIntroduction to Android development - Presentation Report
Introduction to Android development - Presentation Report
 
Webinar Roadmap TotalCross 2020
Webinar Roadmap TotalCross 2020Webinar Roadmap TotalCross 2020
Webinar Roadmap TotalCross 2020
 
Android Operating system
Android Operating systemAndroid Operating system
Android Operating system
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating System
 
Android
AndroidAndroid
Android
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Android and its applications
Android and its applicationsAndroid and its applications
Android and its applications
 
Android 1
Android 1 Android 1
Android 1
 
Android
AndroidAndroid
Android
 
Android Basic By Ankit Shandilya
Android Basic By Ankit ShandilyaAndroid Basic By Ankit Shandilya
Android Basic By Ankit Shandilya
 
Windows phone
Windows phoneWindows phone
Windows phone
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
 
Android application development(training) (1)
Android application development(training) (1)Android application development(training) (1)
Android application development(training) (1)
 

Similar a Android Development Workshop

presentation2-141101015616-conversion-gate01.pdf
presentation2-141101015616-conversion-gate01.pdfpresentation2-141101015616-conversion-gate01.pdf
presentation2-141101015616-conversion-gate01.pdf
imau6
 
Benefits of android phone.pptx
Benefits of android phone.pptxBenefits of android phone.pptx
Benefits of android phone.pptx
NiranjanBehera35
 

Similar a Android Development Workshop (20)

AndroidOverview
AndroidOverviewAndroidOverview
AndroidOverview
 
Android architecture
Android architectureAndroid architecture
Android architecture
 
Presentation on Android operating system
Presentation on Android operating systemPresentation on Android operating system
Presentation on Android operating system
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Android overview 123
Android overview 123Android overview 123
Android overview 123
 
Android overview
Android overviewAndroid overview
Android overview
 
"double quotes"
"double quotes""double quotes"
"double quotes"
 
Android overview
Android overviewAndroid overview
Android overview
 
Android overview
Android overviewAndroid overview
Android overview
 
Android overview
Android overviewAndroid overview
Android overview
 
From Deepa's client
From Deepa's clientFrom Deepa's client
From Deepa's client
 
Introduction to Android Environment
Introduction to Android EnvironmentIntroduction to Android Environment
Introduction to Android Environment
 
presentation2-141101015616-conversion-gate01.pdf
presentation2-141101015616-conversion-gate01.pdfpresentation2-141101015616-conversion-gate01.pdf
presentation2-141101015616-conversion-gate01.pdf
 
Android.ppt
Android.pptAndroid.ppt
Android.ppt
 
this is android development ppt.ppt
this is android development ppt.pptthis is android development ppt.ppt
this is android development ppt.ppt
 
Benefits of android phone.pptx
Benefits of android phone.pptxBenefits of android phone.pptx
Benefits of android phone.pptx
 
Android.ppt
Android.pptAndroid.ppt
Android.ppt
 
Android.ppt
Android.pptAndroid.ppt
Android.ppt
 
Android.ppt
Android.pptAndroid.ppt
Android.ppt
 
Saminar ppt of
Saminar ppt ofSaminar ppt of
Saminar ppt of
 

Más de Muthu Kumar (11)

Phonegap for Android
Phonegap for AndroidPhonegap for Android
Phonegap for Android
 
Next generation career opportunities
Next generation career opportunitiesNext generation career opportunities
Next generation career opportunities
 
SOA - Architecture and Design
SOA - Architecture and DesignSOA - Architecture and Design
SOA - Architecture and Design
 
SOA Development - Requirement Analysis
SOA Development - Requirement AnalysisSOA Development - Requirement Analysis
SOA Development - Requirement Analysis
 
10 LIFE LESSONS YOU LEARN FROM YOUR SCHOOL DAYS
10 LIFE LESSONS YOU LEARN FROM YOUR SCHOOL DAYS10 LIFE LESSONS YOU LEARN FROM YOUR SCHOOL DAYS
10 LIFE LESSONS YOU LEARN FROM YOUR SCHOOL DAYS
 
Professional project cost management
Professional project cost managementProfessional project cost management
Professional project cost management
 
Goal planner 2012
Goal planner 2012Goal planner 2012
Goal planner 2012
 
Smartphone security
Smartphone securitySmartphone security
Smartphone security
 
Professional resume writing
Professional resume writingProfessional resume writing
Professional resume writing
 
Android Testing - How to
Android Testing - How toAndroid Testing - How to
Android Testing - How to
 
J2ME mobile app development
J2ME mobile app developmentJ2ME mobile app development
J2ME mobile app development
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

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...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
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...
 
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
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
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...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
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...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 

Android Development Workshop

  • 2. Agenda  Programming for Mobile Devices  Google Android – an Introduction  Android – Architecture  Android – Basics  Basic Code Demos  Discussions
  • 3. Programming for Mobile Devices  Q: Why Mobile Devices are Better then Computers.  The Advantages of Mobile Computing  Handheld Device access to any required information  Contacts, Calendar, Quick Notes, Photo & Video, Music…  Feature Phones, Smart Phones and PDA  Business Opportunities – Design, Development, Testing  Edutainment, Business, Infotainment, Social Networking  Constraints  Small Size and Low power Handsets  Operating Systems, Screen Size, Memory, Processor,
  • 4. Mobile Operating Systems  Quick Review  Symbian OS – Nokia / Samsung [Feature Phones/ Smart Phones]  I-Phone – Apple iOS  Black berry – Research In Motion [RIM] Blackberry OS  Android – Google Android OS  Windows Mobile – Microsoft Windows CE / Windows Phone 7
  • 5. The Business Market of Android Share of worldwide 2011 Q2 Smartphone sales to end users by operating system, according to Gartner. Gartner, Inc. (NYSE: IT) is an information technology research and advisory firm headquartered in Stamford, Connecticut, United States.
  • 6. Google Android – An Introduction  Originally released in 2008  Open Source Platform - Android Open Source Project (AOSP) – from Google Code Project  Hardware Support – Intel, ARM, HTC, Motorola and Samsung  Google's proprietary applications - Maps, Calendar, and Gmail, and a full HTML web browser [a different version of Google Chrome].  Android App Store – User Generated Apps  Jan 2010 – Nexus One Phone with Android OS – by Google Inc.
  • 7. Android Version History  2.0 (Eclair)  New web browser,  Updated User interface  Support for HTML5 and the W3C Geolocation API.  Enhanced camera app with features like digital zoom, flash, color effects, and more.  2.1 (Eclair)  Support for voice controls throughout the entire OS.  Launcher, with 5 home-screens, animated backgrounds  Weather app, and improved functionality in the Email and Phonebook apps.
  • 8. Android Version History  2.2 (Froyo)  Performance improvements with JIT optimization and the Chrome V8 JavaScript engine, and added Wi-Fi hotspot tethering and Adobe Flash support  2.3 (Gingerbread)  Enhanced User interface, improved the soft keyboard and copy/paste features, and added support for Near Field Communication  3.0 (Honeycomb)  tablet-oriented larger screen devices and introduces many new user interface features  supports multi-core processors and hardware acceleration for graphics.
  • 9. Android Version History  3.1 (Honeycomb)  Google I/O to allow honeycomb devices to directly transfer content from USB devices  3.2 (Honeycomb)  incremental release  Optimization for a broader range of screen sizes  Load media files directly from the SD card  Future releases that have been announced include:  4.0(Ice Cream Sandwich) is said to be a combination of Gingerbread and Honeycomb into a "cohesive whole". It will be released in Q4 2011
  • 10. Android – Platform Architecture
  • 11. Important features of Android  VGA, 2D Graphics Support. 3D Graphics with OpenGL 2.0 Libraries  Relational Data Storage with SQL-Lite  Connectivity: GSM/Edge, CDMA, Bluetooth, WiMAX, Wi-Fi  SMS, MMS and Push Messaging  WebKit – Chrome V8 Javascript Engine Browser  Audio, Video, Image – all mobile formats  Streaming Media Support [RTSP]  Video Calling and Voice based Features  Complete Multi-Tasking
  • 12. Android Basics  Sample Hello World – Code
  • 13. Android Basics  View  UI Element  Button, Label, Text Field … etc  Activity  Single Screen UI  Intent  Method + Process to do any Task  Launch an Activity or Send a Message, etc  Content Provider  Data Sharing Connectivity between apps.  Service  Background Process  Local  Local services are components that are only accessible by the application that is hosting the service  Remote  remote services are services that are meant to be accessed remotely by other applications running on the device.
  • 14. AndroidManifest.xml  AndroidManifest.xml, which is similar to the web.xml file in the J2EE world, defines thecontents and behavior of your application. For example, it lists your application’s activities and services, along with the permissions the application needs to run.  Android Virtual Devices  An Android Virtual Device (AVD) allows developers to test their applications without hooking up an actual Android phone. AVDs can be created in various configurations to emulate different types of real phones.