SlideShare a Scribd company logo
Android
Overview
• Android is an open source platform designed for
mobile devices. Android is founded in the year 2003
by Andy Rubin,Rich miner,Nick sears and Chris
white and names it as “Android Inc” .
 Then the company is acquired by Google and now it
is aligned with “open Handset Alliance” .
 First Android mobile is G1 Phone manufactured by
HTC and sold by wireless carrier T-mobile USA.
Android Versions:
Versions Nick Name
Android 1.0 NA
Android 1.1 NA
Android 1.5 Cup Cake
Android 1.6 DoNut
Android 2.0 Eclair
Android 2.2 Froyo
Android 2.3 GingerBread
Android 3.0 HoneyComb
Android 4.0 IceCream Sandwich
Android Stack
Android Stack overview :
 Android is built in the top of LINUX operating system.
 Other Libraries are
 Web-kit (Web rendering engine)
 SqlLite (Sql DataBase)
 OpenGL (3D graphics Library)
 OpenSSL (Secured Socket Layer)
Dalvik Architecture
• Dalvik is an virtual machine designed specifically for
Android by Dan Bornstein from Google.
Reasons for replacing Java VM :
 Dalvik focus strictly on mobile devices one of these
are battery power consumptions and other is
processing power
 Though Java Language,Java tools and Java libraries
are open source , Java VM is not . To make it license
friendly Android introduces Dalvik VM.
 Dalvik VM is closest to Java libraries but removes
interface (awt and swing).
How it works ?
 In Java , we write Java source code and compile to
Java byte code using Java compiler , then byte code
is run on Virtual machine.
 In Android , we write Java code and still convert byte
code using Java compiler and recompiled again with
Dalvik virtual machine.
Andriod Session.ppt
Activity Life-cycle
 Introduction : An activity is a single screen that user
sees on the screen.
 Launching an activity is an expensive , it creates a
new Linux process and allocates memory for the UI
objects and loads the XML layout .To do load an
activity it takes lot of task , if user switches the screen
to persist the activity state Android introduces Activity
manager.
Activity LifeCycle
Activity State's :
 Start state (Activity doesn't exist in memory and starts
loading it )
 Running state (user Interaction state)
 Paused state (App is visible but not used )
 Stopped state.(App is invisible and still exist in the
memory)
 Destroy state. (App removed from the memory)
Intent
 Intents are messages that are sent among major
building blocks. They trigger an activity to start up, a
service to start or stop, or are simply broadcasts.
Intents are asynchronous, meaning the code that is
sending them doesn’t have to wait for them to be
completed.
 Intent can be explicit or implicit command.
Intent Diagram
Content Providers
 Content Providers are interfaces for sharing data
between applications. Android by default runs each
application in its own sandbox so that all data that
belongs to an application is totally isolated from other
applications on the system. While small amounts of
data can be passed between applications via Intents
Content Providers
Android User Interface
• Android UI :
 Declarative Approach (XML based Layout).
 Programmatic Approach (Java Code To
develop the UI)

More Related Content

PPTX
Android platform
PPTX
Presentation1
PPTX
Android
PDF
Android and its feature
PPSX
My android
PPSX
My android
PDF
Os eclipse-androidwidget-pdf
PDF
Android development training programme Day 1
Android platform
Presentation1
Android
Android and its feature
My android
My android
Os eclipse-androidwidget-pdf
Android development training programme Day 1

Similar to Andriod Session.ppt (20)

PPTX
MAD unit 1.pptxi 8hv8yv8cy8c8ycy8c8yv8uvyv
PPTX
android architecture
PPTX
Android architecture
PDF
Android : Revolutionizing Mobile Devices
KEY
Android Development: The Basics
PPTX
Introduction To android
PPTX
OS in mobile devices [Android]
PPT
Build Mobile Application In Android
PPTX
Android OS and application development
PDF
Android dev o_auth
PPTX
PDF
Mobile app
PPTX
What is Android
PPTX
Android Operating System
PPTX
Android introduction
PDF
Android internals
PPT
PPT
Android Basics
PPTX
Introduction to android
PDF
Android Development in a Nutshell
MAD unit 1.pptxi 8hv8yv8cy8c8ycy8c8yv8uvyv
android architecture
Android architecture
Android : Revolutionizing Mobile Devices
Android Development: The Basics
Introduction To android
OS in mobile devices [Android]
Build Mobile Application In Android
Android OS and application development
Android dev o_auth
Mobile app
What is Android
Android Operating System
Android introduction
Android internals
Android Basics
Introduction to android
Android Development in a Nutshell

Recently uploaded (6)

PDF
Lesson 13- HEREDITY _ pedSAWEREGFVCXZDSASEWFigree.pdf
PPTX
ASMS Telecommunication company Profile
DOC
Camb毕业证学历认证,格罗斯泰斯特主教大学毕业证仿冒文凭毕业证
PDF
6-UseCfgfhgfhgfhgfhgfhfhhaseActivity.pdf
DOC
证书学历UoA毕业证,澳大利亚中汇学院毕业证国外大学毕业证
PDF
heheheueueyeyeyegehehehhehshMedia-Literacy.pdf
Lesson 13- HEREDITY _ pedSAWEREGFVCXZDSASEWFigree.pdf
ASMS Telecommunication company Profile
Camb毕业证学历认证,格罗斯泰斯特主教大学毕业证仿冒文凭毕业证
6-UseCfgfhgfhgfhgfhgfhfhhaseActivity.pdf
证书学历UoA毕业证,澳大利亚中汇学院毕业证国外大学毕业证
heheheueueyeyeyegehehehhehshMedia-Literacy.pdf

Andriod Session.ppt

  • 2. Overview • Android is an open source platform designed for mobile devices. Android is founded in the year 2003 by Andy Rubin,Rich miner,Nick sears and Chris white and names it as “Android Inc” .  Then the company is acquired by Google and now it is aligned with “open Handset Alliance” .  First Android mobile is G1 Phone manufactured by HTC and sold by wireless carrier T-mobile USA.
  • 3. Android Versions: Versions Nick Name Android 1.0 NA Android 1.1 NA Android 1.5 Cup Cake Android 1.6 DoNut Android 2.0 Eclair Android 2.2 Froyo Android 2.3 GingerBread Android 3.0 HoneyComb Android 4.0 IceCream Sandwich
  • 5. Android Stack overview :  Android is built in the top of LINUX operating system.  Other Libraries are  Web-kit (Web rendering engine)  SqlLite (Sql DataBase)  OpenGL (3D graphics Library)  OpenSSL (Secured Socket Layer)
  • 6. Dalvik Architecture • Dalvik is an virtual machine designed specifically for Android by Dan Bornstein from Google. Reasons for replacing Java VM :  Dalvik focus strictly on mobile devices one of these are battery power consumptions and other is processing power  Though Java Language,Java tools and Java libraries are open source , Java VM is not . To make it license friendly Android introduces Dalvik VM.  Dalvik VM is closest to Java libraries but removes interface (awt and swing).
  • 7. How it works ?  In Java , we write Java source code and compile to Java byte code using Java compiler , then byte code is run on Virtual machine.  In Android , we write Java code and still convert byte code using Java compiler and recompiled again with Dalvik virtual machine.
  • 9. Activity Life-cycle  Introduction : An activity is a single screen that user sees on the screen.  Launching an activity is an expensive , it creates a new Linux process and allocates memory for the UI objects and loads the XML layout .To do load an activity it takes lot of task , if user switches the screen to persist the activity state Android introduces Activity manager.
  • 11. Activity State's :  Start state (Activity doesn't exist in memory and starts loading it )  Running state (user Interaction state)  Paused state (App is visible but not used )  Stopped state.(App is invisible and still exist in the memory)  Destroy state. (App removed from the memory)
  • 12. Intent  Intents are messages that are sent among major building blocks. They trigger an activity to start up, a service to start or stop, or are simply broadcasts. Intents are asynchronous, meaning the code that is sending them doesn’t have to wait for them to be completed.  Intent can be explicit or implicit command.
  • 14. Content Providers  Content Providers are interfaces for sharing data between applications. Android by default runs each application in its own sandbox so that all data that belongs to an application is totally isolated from other applications on the system. While small amounts of data can be passed between applications via Intents
  • 16. Android User Interface • Android UI :  Declarative Approach (XML based Layout).  Programmatic Approach (Java Code To develop the UI)