SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

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
 

Was ist angesagt? (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)
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Mehr von 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
 

Kürzlich hochgeladen

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Kürzlich hochgeladen (20)

"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
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
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
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...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
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
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

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.