SlideShare a Scribd company logo
1 of 54
Developing Android App using
    Android 4.0 (Ice cream Sandwich)
Mayur Dharukiya
www.mayurdharukiya.com
9th June,2012
About Me
• Cross Platform Enterprise Mobility Consultant with SAP &
  Sybase
• International Corporate Trainer
  •   Android
  •   iOS
  •   Sybase Unwired Platform-SAP Mobility
  •   Blackberry
  •   Symbian
• More @ http://about.me/mayurdharukiya
Goals of Session
•   Help you understand what Android is
•   Learn about the Tools to develop Android applications
•   Introduction to ICS
•   ICS Features
•   App level changes in ICS
•   Walkthrough of developing a simple Android application using
    Android 4.0 (Ice-cream Sandwich)
What is Android ?
What is Android?
• A software stack for mobile devices
• Includes Linux Kernel, OS Middleware, Application Framework
  & Applications.
• Provides SDK for developers
• From Google
• Open Source and provided to Handset manufacturers
• http://www.android.com
• http://developer.android.com
Android Application Development

• An open source Linux based OS for mobile device.
• A software stack which has its own OS, Middleware and Key
  Applications.
• The main platform of android is Java, it uses java library and
  applications are coded in java, C++ and C (core) programming
  language.
• It’s the only application which has more than 700,000 apps and
  many more are released daily.
• A leading industry in android market, which as higher growth.
• It is used in smart phones, tablets, iPad, watch, TV, MP3, DVR, etc.,
History of Android

• Android was developed by Open Handset Alliance led by Google.
• The Open Handset Alliance includes nearly 86 hardware, software
  and telecommunications companies.
• The initial developer of android was Android Inc., and later Google
  purchased it.
• The Android code was released open source under Apache License.
• It was founded in Palo Alto, California, US, in October 2003 by Andy
  Rubin, Rich Miner, Nick Sears and Chris White.
• The Android Open Source Project (AOSP) is also led by Google and is
  tasked for the maintenance and development of android.
Android - History
OS Version           Name                API Level   Date
Beta, 1.0 , 1.1      -                   -, 1 , 2    Nov 2007, Sep 2008,
                                                     Feb 2009




                                                                           2011-2012
1.5                  Cupcake             3           April 2009
1.6                  Donut               4           September 2009

2.1                  Eclair              7           October 2009
2.2                  Froyo               8           May 2010
2.3                  Gingerbread         10          December 2010

3.0                  Honeycomb           11          February 2011


3.1.x, 3.2           Honeycomb           12,13

4.0, 4.0.1, 4.0.2    Icecream Sandwich   14          October 2011

4.0.3                Icecream Sandwich   15          December 2011          8
Version History
1.5 Cupcake      30 April 2009   Based on linux kernel 2.6.27


1.6 DonutSDK                    Based on linux kernel 2.6.29
                15 September 2009

2.0 EclairSDK                    Based on linux kernel 2.6.29
                October 2009

  2.2 Froyo                      Based on linux kernel 2.6.32
                20 May 2010
    2.3
Gingerbread                      Released on 6 December 2010

   3.0
Honeycomb                        Released on 10 May 2011

4.0 IceCream
                                 Released on 18 October 2011
  Sandwich
POPULAR VERSIONS
                       2.2.x FROYO




2.0/2.1x ECLAIRS                        2.3.x GINGERBREAD




                                            3.x HONEYCOMB
  1.6.x DONUT




1.5.x CUPCAKE                        4.x ICECREAM SANDWICH
Android Device Dashboard
Why Android?
• Android has garnered more than 40% of the current market
  share in Smartphones
• Android Application Development has become biggest and
  highest growing revenue generating market
• Android by its nature is available across various devices
  (Phone, Tablet, TV, Navigation Devices, etc)
• Support from major Handset manufacturers. Open Handset
  Alliance > 50 vendors
• Open Source (http://git.android.com)
• Good set of Developer Tools
Android Vs. Other OS
Android Features
Applications
• All applications are written using the java programming
  language.
• Core applications include –
  •   Email client
  •   SMS program
  •   calendar
  •   Maps
  •   Browser
  •   Contacts etc.
Application Framework
• Underlying all applications is a set of services and systems,
  including:
  •   Views
  •   Content providers
  •   Resource manager
  •   Notification manager
  •   Activity manager
APPLICATION FRAMEWORK
• Activity Manager -Controls the lifecycle of your Activities
• Views -Used to build an application, including lists, grids, text
  boxes, buttons, and even an embeddable web browser
• A Resource Manager, providing access to non-code resources
  such as localized strings, graphics, and layout files
• A Notification Manager that enables all applications to display
  custom alerts in the status bar
• An Activity Manager that manages the lifecycle of applications
  and provides a common navigation back stack
• Content Providers that enable applications to access data from
  other applications (such as Contacts), or to share their own data
LIBRARIES
• System C library - a BSD-derived implementation of the
  standard C system library (libc), tuned for embedded Linux-
  based devices
• A media library for playback of audio and video media
• A surface manager to provide display management
• Graphics libraries that include SGL and Open GL for 2D and 3D
  graphics
LIBRARIES
• SQLite for native database support
• SSL and Webkit for integrated Web browser and Internet
  Security
• FreeType - bitmap and vector font rendering
Android Runtime
• Every android application runs in its own process, with its own
  instance of the Dalvik Runtime machine.
• Dalvik has been written so that a device can run multiple VMs
  efficiently.
DALVIK VIRTUAL MACHINE
• The Dalvik VM is a register-based architecture.
• A tool called dx is used to convert some (but not all) Java .class
  files into the .dex format
• Multiple classes are included in a single .dex file
• Duplicate strings and other constants used in multiple class files
  are included only once in the .dex output to conserve space
• Java byte code is also converted into an alternative instruction
  set used by the Dalvik VM
Linux kernel
• Android relies on Linux version 2.6 for core system services
  such as security, memory management, process management,
  network stack, and driver model.
What makes android different??
• Android operating system is open source. Therefore, it is legal
  and possible for you to modify the entire Operating System to
  work the way you want it to.

• However, to call it different from others because of
  “openness” can be debatable.
Android Market
• http://play.google.com
• Single marketplace for eBooks, Music, Videos and Android
  Applications
• Website + Android application
• Developers pay a one-time registration fee of $25 and can list
  their free & paid applications
• Consumers can download/purchase applications directly
• Market features – Buy/Sell/Rate/Comment/Publish/Search
• 400,000+ applications
Android Market (Google Play)
Android Development Tools
Android Developer Tools
•   Java SDK
•   Eclipse
•   Android SDK
•   Android Emulator
•   Command Line Tools
•   Documentation + Samples
•   Platform Libraries
•   Android Development Tools (ADT) for Eclipse (Recommended
    to begin with)
Tools Needed
• Java SDK
• Download from
  http://www.oracle.com/technetwork/java/javase/downloads/
  index.html
• Eclipse
• Download from http://www.eclipse.org/downloads
• Android SDK
• Download from http://developer.android.com/sdk/index.html
• Android Development Tools (ADT) for Eclipse (Recommended
  to begin with)
• Download from http://developer.android.com/sdk/eclipse-
  adt.html
Android Virtual Device
• SDK includes an Emulator - a virtual mobile device
• Emulator helps you test your applications without a physical
  device
• It mirrors the System Image and functionality as closely as
  possible
• You need to create an Android Virtual Device for the Android
  OS that you wish to target. E.g. 2.2 , 2.3, etc.
Android Emulator
• Mimics a Normal Android Device
• Use it to get familiar with the functions
Global Tablet Forecast
Introduction to Android 4.0 ICS
• As officially announced during the 2011 Google I/O, the
  upcoming version of Android is called Ice Cream Sandwich, a
  combination of Gingerbread and Honeycomb into a "cohesive
  whole". Google is targeting an official release in Q4
  2011. Android engineer Mike Claren called it the company’s
  “most ambitious release to date.” Android 3.2 will be still
  considered part of Honeycomb and not part of Ice Cream
  Sandwich. It will be the last major android release prior to Ice
  Cream Sandwich.
• Gingerbread and Honeycomb Unite

 The Google Android market is currently comprised of two
 major players, Gingerbread and Honeycomb, and Android 4.0
 is set to merge the best of those two worlds by bringing the
 best features of Honeycomb and Gingerbread to Ice Cream
 Sandwich. If you've fallen in love with Honeycomb and
 Gingerbread features like sliding widgets, the new task
 launcher, and the awesome holographic interface, expect to
 see them and more in the new Android 4.0 operating system.
Better Multitasking
IceCream Sandwich will bring multitasking to the Android
  platform like none before it and will not only enhance the apps
  already featured in the marketplace, but will also make new
  things possible like the new Virtual Camera Operator that'll
  automatically detect which person is talking in a multi-video
  chat and automatically switch to the individual that's talking.
One OS to Rule Them All

One of the current issues with the Android
 platform is that it's not unified enough;
 Gingerbread is made to work on smartphones
 and Honeycomb works only with tablets.
 When Ice Cream Sandwich drops in Q4 2011,
 it'll do so to unify smartphones and tablets
 once and for all -- and will work on both
 device types. With one Android OS system to
 "rule them all", Ice Cream Sandwich will make
 the Android platform better for users and
 developers alike.
Better Development Support

As of right now there are over 200,000 Android
apps available in the Android Market and over
100 million Android devices being used all over
the world and with that much support for the
Android platform, developers can use any help
that they can get. In addition to uniting tablets
and smartphones -- making developers lives a lot
easier - the new Android 4.0 will also work to
make Android developers' lives better by
providing new tools that'll help them design apps
that will work better with multiple device types
amongst other things.
The latest version is 4.0.3
Icecream sandwich.
• It combines the best of the android
  2x phone interface with android 3x
  phone interface.
• Easy multitasking, customizable home
  screens, customizable widgets.
Introducing Android 4.0
• Android 4.0 delivers a refined, unified UI for phones and
  tablets and introduces innovative features for users and
  developers. This document provides a glimpse of the many
  new features and technologies that make Android 4.0 simple,
  beautiful, and beyond smart.
Android 4.0 for Users

• Refined, evolved UI
• Multitasking
Android 4.0 for Users
• Resizable widgets
• New lock screen actions
Android 4.0 for Users
• Home screen folders and favorites tray
Android 4.0 for Users
• Improved text input and spell-checking
• Powerful voice input engine
Android 4.0 for Users
• Control over network data
Android 4.0 for Users-Innovation
• Android Beam for NFC-based sharing
• Wi-Fi Direct and Bluetooth HDP
Android 4.0 for Developers
• Unified UI framework for phones, tablets, and more

• New input types and text services
  • Stylus input, button support, hover events
  • Text services API for integrating spelling checkers

• New UI components and capabilities
  • Layout enhancements
  • OpenGL ES texture views
  • Hardware-accelerated 2D drawing

• New types of connectivity
  • Wi-Fi Direct
  • Bluetooth Health Device Profile (HDP)
Android 4.0 for Developers
• New media capabilities
  • Low-level streaming multimedia
  • New camera capabilities
  • Media effects for transforming images and video
  • Audio remote controls
  • New media codecs and containers

• Communication and sharing
  • Social API
  • Calendar API
  • Visual voicemail API
  • Android Beam
  • Modular sharing widget
Your First Android App
Temperature Convertor
SelectFile → New → Other → Android→ Android Project and create the
Android project


 •
Output
Next Steps
• Refer to http://developer.android.com
• Developer Resources:
  http://developer.android.com/resources/index.html
• Google Marketplace Account
Q&A




Website : http://www.mayurdharukiya.com
Email : email@mayurdharukiya.com
Cell:0773-844-9109

More Related Content

What's hot

Android operating system
Android operating systemAndroid operating system
Android operating systemNilanjan Nayak
 
Android Versions with Release date and Features
Android Versions with Release date and FeaturesAndroid Versions with Release date and Features
Android Versions with Release date and FeaturesCDN Mobile Solutions
 
Android versions
Android versionsAndroid versions
Android versionsManjinder
 
Android ppt
Android pptAndroid ppt
Android pptAmit
 
Android tc new ppt
Android tc new pptAndroid tc new ppt
Android tc new pptyash yadav
 
Presentation On Android
Presentation On AndroidPresentation On Android
Presentation On AndroidTeachMission
 
Android operating system
Android operating systemAndroid operating system
Android operating systemShisir Ahmed
 
Android OS Presentation
Android OS PresentationAndroid OS Presentation
Android OS PresentationEks Dhiee ジ
 
Android operating system
Android operating systemAndroid operating system
Android operating systemGurpreet Singh
 
Knowledge about android operating system
Knowledge about android operating systemKnowledge about android operating system
Knowledge about android operating systemRachna Beegun
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating SystemBilal Mirza
 
History of Android
History of AndroidHistory of Android
History of Androidatmflora
 
Power Point Presentaton on Android Operating system
Power Point Presentaton on Android Operating systemPower Point Presentaton on Android Operating system
Power Point Presentaton on Android Operating systemSukanta Biswas
 
History of android os from 1.0 to 9.0 pie
History of android os   from 1.0 to 9.0 pieHistory of android os   from 1.0 to 9.0 pie
History of android os from 1.0 to 9.0 pieXicom Technologies Ltd.
 

What's hot (20)

Evolution of Android Version and their Features
Evolution of Android Version and their FeaturesEvolution of Android Version and their Features
Evolution of Android Version and their Features
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Android operating system
Android operating systemAndroid operating system
Android operating system
 
Android Versions with Release date and Features
Android Versions with Release date and FeaturesAndroid Versions with Release date and Features
Android Versions with Release date and Features
 
Android versions
Android versionsAndroid versions
Android versions
 
Slideshare android
Slideshare androidSlideshare android
Slideshare android
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating System
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Versions of android
Versions of androidVersions of android
Versions of android
 
Android tc new ppt
Android tc new pptAndroid tc new ppt
Android tc new ppt
 
Presentation On Android
Presentation On AndroidPresentation On Android
Presentation On Android
 
Android operating system
Android operating systemAndroid operating system
Android operating system
 
Android OS Presentation
Android OS PresentationAndroid OS Presentation
Android OS Presentation
 
Android operating system
Android operating systemAndroid operating system
Android operating system
 
Knowledge about android operating system
Knowledge about android operating systemKnowledge about android operating system
Knowledge about android operating system
 
Android Presentation
Android PresentationAndroid Presentation
Android Presentation
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating System
 
History of Android
History of AndroidHistory of Android
History of Android
 
Power Point Presentaton on Android Operating system
Power Point Presentaton on Android Operating systemPower Point Presentaton on Android Operating system
Power Point Presentaton on Android Operating system
 
History of android os from 1.0 to 9.0 pie
History of android os   from 1.0 to 9.0 pieHistory of android os   from 1.0 to 9.0 pie
History of android os from 1.0 to 9.0 pie
 

Viewers also liked

Presentationpick 150517080804-lva1-app6892
Presentationpick 150517080804-lva1-app6892Presentationpick 150517080804-lva1-app6892
Presentationpick 150517080804-lva1-app6892SAIL_QU
 
Leveraging Historical Co-change Information for Requirements Traceability
Leveraging Historical Co-change Information for Requirements TraceabilityLeveraging Historical Co-change Information for Requirements Traceability
Leveraging Historical Co-change Information for Requirements TraceabilitySAIL_QU
 
[Droidcon]Developing Apps for Android on 2.x/3.x/4.x
[Droidcon]Developing Apps for Android on 2.x/3.x/4.x[Droidcon]Developing Apps for Android on 2.x/3.x/4.x
[Droidcon]Developing Apps for Android on 2.x/3.x/4.xKenichi Kambara
 
Prioritizing the Devices to Test Your App On: A Case Study of Android Game Apps
Prioritizing the Devices to Test Your App On: A Case Study of Android Game AppsPrioritizing the Devices to Test Your App On: A Case Study of Android Game Apps
Prioritizing the Devices to Test Your App On: A Case Study of Android Game AppsSAIL_QU
 
The notion of Specialization in the i* Framework
The notion of Specialization in the i* FrameworkThe notion of Specialization in the i* Framework
The notion of Specialization in the i* FrameworkGESSI UPC
 
The ice cream lab icecream industry
The ice cream lab icecream industryThe ice cream lab icecream industry
The ice cream lab icecream industryLibu Thomas
 
Economic Analysis of Arun ice creams
Economic Analysis of Arun ice creamsEconomic Analysis of Arun ice creams
Economic Analysis of Arun ice creamsVignesh C
 
Employee job satisfaction project at KSDL pdf
Employee job satisfaction project at KSDL pdfEmployee job satisfaction project at KSDL pdf
Employee job satisfaction project at KSDL pdfAnitha Krishnappa
 
A project report on job satisfaction at birla ltd.,
A project report on job satisfaction at birla ltd.,A project report on job satisfaction at birla ltd.,
A project report on job satisfaction at birla ltd.,Projects Kart
 
a project report on Job satisfaction
 a project report on Job satisfaction a project report on Job satisfaction
a project report on Job satisfactionBabasab Patil
 
Presentation on Ice cream Industry
Presentation on Ice cream IndustryPresentation on Ice cream Industry
Presentation on Ice cream IndustryZaufy Shan
 
Theoretical framework
Theoretical frameworkTheoretical framework
Theoretical frameworkHeyImAra
 
Culture & lifestyle of people during spanish period
Culture & lifestyle of  people during spanish periodCulture & lifestyle of  people during spanish period
Culture & lifestyle of people during spanish periodJames Robert Villacorteza
 
Research problem, hypothesis & conceptual framework
Research problem, hypothesis & conceptual frameworkResearch problem, hypothesis & conceptual framework
Research problem, hypothesis & conceptual frameworkMeghana Sudhir
 
Project report on Employee Satisfaction
 Project report on Employee Satisfaction Project report on Employee Satisfaction
Project report on Employee SatisfactionMegha Sanghavi
 
Writing a conceptual framework
Writing a conceptual frameworkWriting a conceptual framework
Writing a conceptual frameworkwtidwell
 

Viewers also liked (20)

Presentationpick 150517080804-lva1-app6892
Presentationpick 150517080804-lva1-app6892Presentationpick 150517080804-lva1-app6892
Presentationpick 150517080804-lva1-app6892
 
Leveraging Historical Co-change Information for Requirements Traceability
Leveraging Historical Co-change Information for Requirements TraceabilityLeveraging Historical Co-change Information for Requirements Traceability
Leveraging Historical Co-change Information for Requirements Traceability
 
Lesson 3
Lesson 3Lesson 3
Lesson 3
 
[Droidcon]Developing Apps for Android on 2.x/3.x/4.x
[Droidcon]Developing Apps for Android on 2.x/3.x/4.x[Droidcon]Developing Apps for Android on 2.x/3.x/4.x
[Droidcon]Developing Apps for Android on 2.x/3.x/4.x
 
Prioritizing the Devices to Test Your App On: A Case Study of Android Game Apps
Prioritizing the Devices to Test Your App On: A Case Study of Android Game AppsPrioritizing the Devices to Test Your App On: A Case Study of Android Game Apps
Prioritizing the Devices to Test Your App On: A Case Study of Android Game Apps
 
The notion of Specialization in the i* Framework
The notion of Specialization in the i* FrameworkThe notion of Specialization in the i* Framework
The notion of Specialization in the i* Framework
 
GELATO
GELATOGELATO
GELATO
 
The ice cream lab icecream industry
The ice cream lab icecream industryThe ice cream lab icecream industry
The ice cream lab icecream industry
 
Icecream industry
Icecream industryIcecream industry
Icecream industry
 
Economic Analysis of Arun ice creams
Economic Analysis of Arun ice creamsEconomic Analysis of Arun ice creams
Economic Analysis of Arun ice creams
 
Designing a Ice cream Parlour
Designing a Ice cream ParlourDesigning a Ice cream Parlour
Designing a Ice cream Parlour
 
Employee job satisfaction project at KSDL pdf
Employee job satisfaction project at KSDL pdfEmployee job satisfaction project at KSDL pdf
Employee job satisfaction project at KSDL pdf
 
A project report on job satisfaction at birla ltd.,
A project report on job satisfaction at birla ltd.,A project report on job satisfaction at birla ltd.,
A project report on job satisfaction at birla ltd.,
 
a project report on Job satisfaction
 a project report on Job satisfaction a project report on Job satisfaction
a project report on Job satisfaction
 
Presentation on Ice cream Industry
Presentation on Ice cream IndustryPresentation on Ice cream Industry
Presentation on Ice cream Industry
 
Theoretical framework
Theoretical frameworkTheoretical framework
Theoretical framework
 
Culture & lifestyle of people during spanish period
Culture & lifestyle of  people during spanish periodCulture & lifestyle of  people during spanish period
Culture & lifestyle of people during spanish period
 
Research problem, hypothesis & conceptual framework
Research problem, hypothesis & conceptual frameworkResearch problem, hypothesis & conceptual framework
Research problem, hypothesis & conceptual framework
 
Project report on Employee Satisfaction
 Project report on Employee Satisfaction Project report on Employee Satisfaction
Project report on Employee Satisfaction
 
Writing a conceptual framework
Writing a conceptual frameworkWriting a conceptual framework
Writing a conceptual framework
 

Similar to Android icecream sandwich

Similar to Android icecream sandwich (20)

Android presantation
Android presantationAndroid presantation
Android presantation
 
Introduction to Android ppt
Introduction to Android pptIntroduction to Android ppt
Introduction to Android ppt
 
Android operating system
Android operating systemAndroid operating system
Android operating system
 
android
androidandroid
android
 
Android introduction
Android introductionAndroid introduction
Android introduction
 
Android basic
Android basicAndroid basic
Android basic
 
Getting started with Android Programming
Getting started with Android ProgrammingGetting started with Android Programming
Getting started with Android Programming
 
Android Basic PPT
Android Basic PPTAndroid Basic PPT
Android Basic PPT
 
Android Presentation [Final]
Android Presentation [Final]Android Presentation [Final]
Android Presentation [Final]
 
Introduction to Android.pptx
Introduction to Android.pptxIntroduction to Android.pptx
Introduction to Android.pptx
 
1319571 634635606205391250
1319571 6346356062053912501319571 634635606205391250
1319571 634635606205391250
 
Android Operating System (Androrid OS)
Android Operating System (Androrid OS)Android Operating System (Androrid OS)
Android Operating System (Androrid OS)
 
Android Apps
Android AppsAndroid Apps
Android Apps
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating System
 
Android OS 2019
Android OS 2019Android OS 2019
Android OS 2019
 
Android
AndroidAndroid
Android
 
Android
AndroidAndroid
Android
 
Android PPT Presentation 2018
Android PPT Presentation 2018Android PPT Presentation 2018
Android PPT Presentation 2018
 
INTRODUCTION TO ANDROID
INTRODUCTION TO ANDROIDINTRODUCTION TO ANDROID
INTRODUCTION TO ANDROID
 
Pp2
Pp2Pp2
Pp2
 

Recently uploaded

Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 

Recently uploaded (20)

Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 

Android icecream sandwich

  • 1. Developing Android App using Android 4.0 (Ice cream Sandwich) Mayur Dharukiya www.mayurdharukiya.com 9th June,2012
  • 2. About Me • Cross Platform Enterprise Mobility Consultant with SAP & Sybase • International Corporate Trainer • Android • iOS • Sybase Unwired Platform-SAP Mobility • Blackberry • Symbian • More @ http://about.me/mayurdharukiya
  • 3. Goals of Session • Help you understand what Android is • Learn about the Tools to develop Android applications • Introduction to ICS • ICS Features • App level changes in ICS • Walkthrough of developing a simple Android application using Android 4.0 (Ice-cream Sandwich)
  • 5. What is Android? • A software stack for mobile devices • Includes Linux Kernel, OS Middleware, Application Framework & Applications. • Provides SDK for developers • From Google • Open Source and provided to Handset manufacturers • http://www.android.com • http://developer.android.com
  • 6. Android Application Development • An open source Linux based OS for mobile device. • A software stack which has its own OS, Middleware and Key Applications. • The main platform of android is Java, it uses java library and applications are coded in java, C++ and C (core) programming language. • It’s the only application which has more than 700,000 apps and many more are released daily. • A leading industry in android market, which as higher growth. • It is used in smart phones, tablets, iPad, watch, TV, MP3, DVR, etc.,
  • 7. History of Android • Android was developed by Open Handset Alliance led by Google. • The Open Handset Alliance includes nearly 86 hardware, software and telecommunications companies. • The initial developer of android was Android Inc., and later Google purchased it. • The Android code was released open source under Apache License. • It was founded in Palo Alto, California, US, in October 2003 by Andy Rubin, Rich Miner, Nick Sears and Chris White. • The Android Open Source Project (AOSP) is also led by Google and is tasked for the maintenance and development of android.
  • 8. Android - History OS Version Name API Level Date Beta, 1.0 , 1.1 - -, 1 , 2 Nov 2007, Sep 2008, Feb 2009 2011-2012 1.5 Cupcake 3 April 2009 1.6 Donut 4 September 2009 2.1 Eclair 7 October 2009 2.2 Froyo 8 May 2010 2.3 Gingerbread 10 December 2010 3.0 Honeycomb 11 February 2011 3.1.x, 3.2 Honeycomb 12,13 4.0, 4.0.1, 4.0.2 Icecream Sandwich 14 October 2011 4.0.3 Icecream Sandwich 15 December 2011 8
  • 9. Version History 1.5 Cupcake 30 April 2009 Based on linux kernel 2.6.27 1.6 DonutSDK Based on linux kernel 2.6.29 15 September 2009 2.0 EclairSDK Based on linux kernel 2.6.29 October 2009 2.2 Froyo Based on linux kernel 2.6.32 20 May 2010 2.3 Gingerbread Released on 6 December 2010 3.0 Honeycomb Released on 10 May 2011 4.0 IceCream Released on 18 October 2011 Sandwich
  • 10. POPULAR VERSIONS 2.2.x FROYO 2.0/2.1x ECLAIRS 2.3.x GINGERBREAD 3.x HONEYCOMB 1.6.x DONUT 1.5.x CUPCAKE 4.x ICECREAM SANDWICH
  • 12. Why Android? • Android has garnered more than 40% of the current market share in Smartphones • Android Application Development has become biggest and highest growing revenue generating market • Android by its nature is available across various devices (Phone, Tablet, TV, Navigation Devices, etc) • Support from major Handset manufacturers. Open Handset Alliance > 50 vendors • Open Source (http://git.android.com) • Good set of Developer Tools
  • 15. Applications • All applications are written using the java programming language. • Core applications include – • Email client • SMS program • calendar • Maps • Browser • Contacts etc.
  • 16. Application Framework • Underlying all applications is a set of services and systems, including: • Views • Content providers • Resource manager • Notification manager • Activity manager
  • 17. APPLICATION FRAMEWORK • Activity Manager -Controls the lifecycle of your Activities • Views -Used to build an application, including lists, grids, text boxes, buttons, and even an embeddable web browser • A Resource Manager, providing access to non-code resources such as localized strings, graphics, and layout files • A Notification Manager that enables all applications to display custom alerts in the status bar • An Activity Manager that manages the lifecycle of applications and provides a common navigation back stack • Content Providers that enable applications to access data from other applications (such as Contacts), or to share their own data
  • 18. LIBRARIES • System C library - a BSD-derived implementation of the standard C system library (libc), tuned for embedded Linux- based devices • A media library for playback of audio and video media • A surface manager to provide display management • Graphics libraries that include SGL and Open GL for 2D and 3D graphics
  • 19. LIBRARIES • SQLite for native database support • SSL and Webkit for integrated Web browser and Internet Security • FreeType - bitmap and vector font rendering
  • 20. Android Runtime • Every android application runs in its own process, with its own instance of the Dalvik Runtime machine. • Dalvik has been written so that a device can run multiple VMs efficiently.
  • 21. DALVIK VIRTUAL MACHINE • The Dalvik VM is a register-based architecture. • A tool called dx is used to convert some (but not all) Java .class files into the .dex format • Multiple classes are included in a single .dex file • Duplicate strings and other constants used in multiple class files are included only once in the .dex output to conserve space • Java byte code is also converted into an alternative instruction set used by the Dalvik VM
  • 22. Linux kernel • Android relies on Linux version 2.6 for core system services such as security, memory management, process management, network stack, and driver model.
  • 23. What makes android different?? • Android operating system is open source. Therefore, it is legal and possible for you to modify the entire Operating System to work the way you want it to. • However, to call it different from others because of “openness” can be debatable.
  • 24. Android Market • http://play.google.com • Single marketplace for eBooks, Music, Videos and Android Applications • Website + Android application • Developers pay a one-time registration fee of $25 and can list their free & paid applications • Consumers can download/purchase applications directly • Market features – Buy/Sell/Rate/Comment/Publish/Search • 400,000+ applications
  • 26.
  • 28. Android Developer Tools • Java SDK • Eclipse • Android SDK • Android Emulator • Command Line Tools • Documentation + Samples • Platform Libraries • Android Development Tools (ADT) for Eclipse (Recommended to begin with)
  • 29. Tools Needed • Java SDK • Download from http://www.oracle.com/technetwork/java/javase/downloads/ index.html • Eclipse • Download from http://www.eclipse.org/downloads • Android SDK • Download from http://developer.android.com/sdk/index.html • Android Development Tools (ADT) for Eclipse (Recommended to begin with) • Download from http://developer.android.com/sdk/eclipse- adt.html
  • 30. Android Virtual Device • SDK includes an Emulator - a virtual mobile device • Emulator helps you test your applications without a physical device • It mirrors the System Image and functionality as closely as possible • You need to create an Android Virtual Device for the Android OS that you wish to target. E.g. 2.2 , 2.3, etc.
  • 31. Android Emulator • Mimics a Normal Android Device • Use it to get familiar with the functions
  • 33. Introduction to Android 4.0 ICS • As officially announced during the 2011 Google I/O, the upcoming version of Android is called Ice Cream Sandwich, a combination of Gingerbread and Honeycomb into a "cohesive whole". Google is targeting an official release in Q4 2011. Android engineer Mike Claren called it the company’s “most ambitious release to date.” Android 3.2 will be still considered part of Honeycomb and not part of Ice Cream Sandwich. It will be the last major android release prior to Ice Cream Sandwich.
  • 34. • Gingerbread and Honeycomb Unite The Google Android market is currently comprised of two major players, Gingerbread and Honeycomb, and Android 4.0 is set to merge the best of those two worlds by bringing the best features of Honeycomb and Gingerbread to Ice Cream Sandwich. If you've fallen in love with Honeycomb and Gingerbread features like sliding widgets, the new task launcher, and the awesome holographic interface, expect to see them and more in the new Android 4.0 operating system.
  • 35. Better Multitasking IceCream Sandwich will bring multitasking to the Android platform like none before it and will not only enhance the apps already featured in the marketplace, but will also make new things possible like the new Virtual Camera Operator that'll automatically detect which person is talking in a multi-video chat and automatically switch to the individual that's talking.
  • 36. One OS to Rule Them All One of the current issues with the Android platform is that it's not unified enough; Gingerbread is made to work on smartphones and Honeycomb works only with tablets. When Ice Cream Sandwich drops in Q4 2011, it'll do so to unify smartphones and tablets once and for all -- and will work on both device types. With one Android OS system to "rule them all", Ice Cream Sandwich will make the Android platform better for users and developers alike.
  • 37. Better Development Support As of right now there are over 200,000 Android apps available in the Android Market and over 100 million Android devices being used all over the world and with that much support for the Android platform, developers can use any help that they can get. In addition to uniting tablets and smartphones -- making developers lives a lot easier - the new Android 4.0 will also work to make Android developers' lives better by providing new tools that'll help them design apps that will work better with multiple device types amongst other things.
  • 38. The latest version is 4.0.3 Icecream sandwich. • It combines the best of the android 2x phone interface with android 3x phone interface. • Easy multitasking, customizable home screens, customizable widgets.
  • 39. Introducing Android 4.0 • Android 4.0 delivers a refined, unified UI for phones and tablets and introduces innovative features for users and developers. This document provides a glimpse of the many new features and technologies that make Android 4.0 simple, beautiful, and beyond smart.
  • 40. Android 4.0 for Users • Refined, evolved UI • Multitasking
  • 41. Android 4.0 for Users • Resizable widgets • New lock screen actions
  • 42. Android 4.0 for Users • Home screen folders and favorites tray
  • 43. Android 4.0 for Users • Improved text input and spell-checking • Powerful voice input engine
  • 44. Android 4.0 for Users • Control over network data
  • 45. Android 4.0 for Users-Innovation • Android Beam for NFC-based sharing • Wi-Fi Direct and Bluetooth HDP
  • 46. Android 4.0 for Developers • Unified UI framework for phones, tablets, and more • New input types and text services • Stylus input, button support, hover events • Text services API for integrating spelling checkers • New UI components and capabilities • Layout enhancements • OpenGL ES texture views • Hardware-accelerated 2D drawing • New types of connectivity • Wi-Fi Direct • Bluetooth Health Device Profile (HDP)
  • 47. Android 4.0 for Developers • New media capabilities • Low-level streaming multimedia • New camera capabilities • Media effects for transforming images and video • Audio remote controls • New media codecs and containers • Communication and sharing • Social API • Calendar API • Visual voicemail API • Android Beam • Modular sharing widget
  • 48. Your First Android App Temperature Convertor
  • 49. SelectFile → New → Other → Android→ Android Project and create the Android project •
  • 50.
  • 51.
  • 53. Next Steps • Refer to http://developer.android.com • Developer Resources: http://developer.android.com/resources/index.html • Google Marketplace Account
  • 54. Q&A Website : http://www.mayurdharukiya.com Email : email@mayurdharukiya.com Cell:0773-844-9109