SlideShare une entreprise Scribd logo
1  sur  30
Introduction to Android
and
Its Components
Sisoft Technologies Pvt Ltd
SRC E7, Shipra Riviera Bazar, Gyan Khand-3, Indirapuram, Ghaziabad
Website: www.sisoft.in Email:info@sisoft.in
Phone: +91-9999-283-283

1
1. Introduction
What is Android?
•

A software platform and operating system for mobile devices.

•

As Smart phone OS, it is based on the Linux kernel.

•

Android is Framework for developing mobile apps. Framework is set of
Interfaces and classes .Framework follow the structure.

•

Allows writing managed code in the Java language.

•

Android is an open-source platform founded in October 2003 by Andy Rubin
and backed by Google in November 2007.

•

Developed by Google and later the Open Handset Alliance (OHA).

•

Unveiling of the Android platform was announced on 5 November
2007(Android beta) with the founding of OHA.
www.sisoft.in

2
Android Architecture

www.sisoft.in

3
Linux Kernel

•
•
•
•
•

Works as a Hardware Abstraction Layer (HAL)
Device drivers
Memory management
Process management
Networking
www.sisoft.in

4
Libraries

•
•
•
•
•

C/C++ libraries
Interface through Java
Surface manager – Handling UI Windows
2D and 3D graphics
Media codecs, SQLite, Browser engine
www.sisoft.in

5
Android Runtime

• Dalvik VM

Dex files
Compact and efficient than class files
Limited memory and battery power
• Core Libraries
 Java 5 Std edition
 Collections, I/O etc
www.sisoft.in

6
Application Framework

• API interface
• Activity manager :- manages application life
cycle.
• XMPP Service :- Extensible Messaging and
Presence Protocol (XMPP) is a communications
protocol for message-oriented middleware based on
XML
www.sisoft.in

7
Applications

• Built in and user apps
• Can replace built in apps

www.sisoft.in

8
Version History

www.sisoft.in

9
Android Version & API Level
Platform Version

API Level

VERSION_CODE

Android 4.4

19

KITKAT

Android 4.3

18

JELLY_BEAN_MR2

Android 4.2, 4.2.2

17

JELLY_BEAN_MR1

Android 4.1, 4.1.1

16

JELLY_BEAN

Android 4.0.3, 4.0.4

15

ICE_CREAM_SANDWICH_MR1

Android 4.0, 4.0.1, 4.0.2

14

ICE_CREAM_SANDWICH

Android 3.2

13

HONEYCOMB_MR2

Android 3.1.x

12

HONEYCOMB_MR1

Android 3.0.x

11

HONEYCOMB

Android 2.3.4 , Android 2.3.3

10

GINGERBREAD_MR1

Android 2.3.2 , Android 2.3.1, Android 2.3

9

GINGERBREAD

Android 2.2.x

8

FROYO

Android 2.1.x

7

ECLAIR_MR1

Android 2.0.1

6

ECLAIR_0_1

Android 2.0

5

ECLAIR

Android 1.6

4

DONUT

Android 1.5

3

CUPCAKE

www.sisoft.in

10
Version History
•

Android beta



The Android beta was released on 5 November 2007,while the software
development kit(SDK) was released on 12 November 2007.

•

Android 1.0



Android 1.0, the first commercial version of the software, was released on 23
September 2008.

•

Android 1.1



On 9 February 2009, the Android 1.1 update was released, initially for the HTC
Dream only. Android 1.1 was known as "Petit Four" internally, though this name
was not used officially. The update resolved, changed the Android API and added a
number of features.

www.sisoft.in

11
Version History
•

Android 1.5 Cupcake



Release on 30 April 2009, the Android 1.5 update was released, based on Linux
kernel 2.6.27. This was the first release to officially use a name based on a
dessert ("Cupcake"), a theme which would be used for all releases henceforth.
The update included several new features and UI amendments .

•

Android 1.6 Donut



Release on 15 September 2009, the Android 1.6 SDK – dubbed Donut – was
released, based on Linux kernel 2.6.29.Included in the update were numerous new
features.

www.sisoft.in

12
Version History
•

Android 2.0/2.1 Eclair



Release on 26 October 2009, the Android 2.0 SDK – codenamed Eclair – was
released, based on Linux kernel 2.6.29. Changes included

•

Android 2.2.x Froyo



Release on 20 May 2010, Android 2.2 (Froyo, short for Frozen Yogurt) SDK was
released, based on Linux kernel 2.6.32

•

Android 2.3.x Gingerbread



Release on 6 December 2010, the Android 2.3 (Gingerbread) SDK was released,
based on Linux kernel 2.6.35. Changes included

www.sisoft.in

13
Android 3.x Honeycomb
Android 3.x Honeycomb: Release on 22 February 2011, the Android3.0
(Honeycomb) SDK – the first tablet-only
Android update – was released, based
on Linux kernel 2.6.36. The first device
featuring this version, the Motorola Xoom
tablet, was released on 24 February 2011.

www.sisoft.in

14
Android 4.0.x Ice Cream Sandwich
•

Android 4.0.x Ice Cream Sandwich

 The SDK for Android 4.0.1 (Ice Cream Sandwich),
based on Linux kernel 3.0.1, was publicly released
on 19 October 2011.Google's Gabe Cohen stated
that Android 4.0 was "theoretically compatible" with
any Android 2.3.x device in production at that time.
 The source code for Android 4.0 became available
on 14 November 2011. The update introduced
numerous new features, including:

www.sisoft.in

15
Android 4.1/4.2 Jelly Bean
 Android 4.1/4.2 Jelly Bean
 Google announced Android 4.1 (Jelly Bean)
at the Google I/O conference on 27 June 2012.
Based on Linux kernel 3.0.31, Jelly Bean was an
incremental update with the primary aim of improving
the functionality and performance of the user
Interface.
 The performance improvement involved "Project
Butter", which uses touch anticipation, triple
buffering, extended vsync timing and a fixedframe
rate of 60 fps to create a fluid and "buttery-smooth" UI.
Android 4.1Jelly Bean was released to the Android Open Source
Project on 9 July 2012, and the Nexus 7 tablet, the first device to run
Jelly Bean, was released on 13 July 2012.
www.sisoft.in

16
Android 4.1/4.2 Jelly Bean
 Google was expected to announce Jelly Bean
4.2 at an event in New York City on 29 October
2012, but the event was cancelled due to
Hurricane Sandy. Instead of rescheduling the
live event, Google announced the new version
with a press release, under the slogan "A new
flavor of Jelly Bean". The first devices to run
Android 4.2 were LG‘s Nexus 4 and Samsung‘s
Nexus 10, which were released on 13 November
2012.

www.sisoft.in

17
Android 4.3 /Android 5.0
• Android 4.3 Kitkat

www.sisoft.in

18
Application Building
Blocks
Sisoft Technologies Pvt Ltd
SRC E7, Shipra Riviera Bazar, Gyan Khand-3, Indirapuram, Ghaziabad
Website: www.sisoft.in Email:info@sisoft.in
Phone: +91-9999-283-283
19
Application Building Blocks
Android applications consist of loosely coupled components, bound by the
application manifest that describes each component and how they interact. The
manifest is also used to specify the application’s metadata, its hardware and
platform requirements, external libraries, and required permissions

•
•
•
•
•
•
•
•

Activity
Service
Content Provider
Broadcast receivers
Intent
Notifications
Resources
Fragments
www.sisoft.in
20
Activities : Screen Holder
• An Activity represents the visual representation of an
Android application. Typically correspond to one UI
screen
• One activity in an application is specified as the
"main" activity, which is presented to the user when
launching the application for the first time
• An application usually consists of multiple activities
that are loosely bound to each other

www.sisoft.in
21
Activities start each other

Moving from one activity to another is accomplished by having the
current activity start the next one through so called intents.

www.sisoft.in

22
Activities – The View
• Each activity has a default window to draw in
(although it may prompt for dialogs or notifications)
• The content of the window is a view or a group of
views (derived from View or ViewGroup)
• Example of views: buttons, text fields, scroll bars,
menu items, check boxes, etc.
• View(Group) made visible via
Activity.setContentView() method.

www.sisoft.in

www.sisoft.in
Services: Background component
• A service is a component which runs in the
background, without direct interaction with
the user
• The Android platform provides and runs
predefined system services and every Android
application can use them, given the right
permissions.

www.sisoft.in
24
Broadcast Receivers: Passive Actor
• Receive and react to broadcast
announcements
• Examples of broadcasts:
– Low battery, power connected, shutdown,
timezone changed, etc.
– Other applications can initiate broadcasts

• To create a new Broadcast Receiver, extend
the BroadcastReceiver class and override the
onReceive event handler
25

www.sisoft.in
Content Providers: Data Access Mechanism
• Makes some of the application data available
to other applications
• It’s the only way to transfer data between
applications in Android (no shared files,
shared memory, pipes, etc.)
• Extends the class ContentProvider;
• Other applications use a ContentResolver
object to access the data provided via a
ContentProvider

26

www.sisoft.in
Intent: Messenger
• An intent is an abstract description of an operation
to be performed
• Moving from one activity to another is accomplished
by having the current activity start the next one
through intents
• The intents can communicate messages among any
of the three core components of an application activities, services, and broadcast receivers
• Data across components is also passed thru intents

www.sisoft.in
27
Notifications: Reminding User
• Android allows to put notification into the Title bar of your
application. The user can expand the notification bar and by
selecting the notification the user can trigger another activity.
• There are three types of notifications in Android.
 Toast Notifications
 Status Bar Notifications
 Dialog Notifications

Toast Notification

Status Bar Notifications

Dialog Notifications
www.sisoft.in
28
Resources: App Program Data
• Android supports that resources like images and certain XML
configuration files, can be kept separate from the source
code.
• Resource files must be placed in the /res directory in a
predefined sub-folder dependent on their type. You can also
append additional qualifiers to the folder name to indicate
that the related resources should be used for special
configurations.
• For example, you can specify that layout file is only valid for a
certain screen size.

www.sisoft.in
29
Widgets
• Visual application components that are typically added to the
device home screen.
• A special variation of a Broadcast Receiver, widgets enable
you to create dynamic, interactive application components
for users to embed on their home screens.

www.sisoft.in
30

Contenu connexe

Tendances

Introduction to android
Introduction to androidIntroduction to android
Introduction to androidzeelpatel0504
 
Presentation on Android operating system
Presentation on Android operating systemPresentation on Android operating system
Presentation on Android operating systemSalma Begum
 
Android PPT Presentation 2018
Android PPT Presentation 2018Android PPT Presentation 2018
Android PPT Presentation 2018Rao Purna
 
Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android Ranjith Kumar
 
Android Architecture
Android ArchitectureAndroid Architecture
Android Architecturedeepakshare
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development pptsaitej15
 
Mobile application development
Mobile application developmentMobile application development
Mobile application developmentEric Cattoir
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android DevelopmentAly Abdelkareem
 
Android summer training report
Android summer training reportAndroid summer training report
Android summer training reportShashendra Singh
 
Mobile Application Development
Mobile Application DevelopmentMobile Application Development
Mobile Application Developmentjini james
 
Flutter overview - advantages & disadvantages for business
Flutter overview - advantages & disadvantages for businessFlutter overview - advantages & disadvantages for business
Flutter overview - advantages & disadvantages for businessBartosz Kosarzycki
 
Android app development with kotlin heralding the future
Android app development with kotlin heralding the futureAndroid app development with kotlin heralding the future
Android app development with kotlin heralding the futureSPEC INDIA
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating Systemrenoy reji
 

Tendances (20)

Android ppt
Android pptAndroid ppt
Android ppt
 
PPT on Android
PPT on AndroidPPT on Android
PPT on Android
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Presentation on Android operating system
Presentation on Android operating systemPresentation on Android operating system
Presentation on Android operating system
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Android PPT Presentation 2018
Android PPT Presentation 2018Android PPT Presentation 2018
Android PPT Presentation 2018
 
Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android
 
Android Architecture
Android ArchitectureAndroid Architecture
Android Architecture
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development ppt
 
Mobile application development
Mobile application developmentMobile application development
Mobile application development
 
Android.ppt
Android.pptAndroid.ppt
Android.ppt
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Android summer training report
Android summer training reportAndroid summer training report
Android summer training report
 
Mobile Application Development
Mobile Application DevelopmentMobile Application Development
Mobile Application Development
 
Flutter overview - advantages & disadvantages for business
Flutter overview - advantages & disadvantages for businessFlutter overview - advantages & disadvantages for business
Flutter overview - advantages & disadvantages for business
 
Android app development with kotlin heralding the future
Android app development with kotlin heralding the futureAndroid app development with kotlin heralding the future
Android app development with kotlin heralding the future
 
Android Operating System
Android Operating SystemAndroid Operating System
Android Operating System
 
Android User Interface
Android User InterfaceAndroid User Interface
Android User Interface
 

Similaire à Introduction to Android, Architecture & Components

Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android dipali badgujar
 
Android presantation
Android presantationAndroid presantation
Android presantationUdayJethva
 
Knowledge about android operating system
Knowledge about android operating systemKnowledge about android operating system
Knowledge about android operating systemRachna Beegun
 
Basic of Android App Development
Basic of Android App DevelopmentBasic of Android App Development
Basic of Android App DevelopmentAbhijeet Gupta
 
Software training report
Software training reportSoftware training report
Software training reportNatasha Bains
 
Android seminar report
Android seminar reportAndroid seminar report
Android seminar reportdgpune
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_authlzongren
 
Android application development(training) (1)
Android application development(training) (1)Android application development(training) (1)
Android application development(training) (1)Suraj Soni
 
Phonebook Directory or Address Book In Android
Phonebook Directory or Address Book In AndroidPhonebook Directory or Address Book In Android
Phonebook Directory or Address Book In AndroidABHISHEK DINKAR
 
Android a glimpse by kishan phadte(BCA, Third Year undergraduate at DM's Col...
Android a glimpse by kishan phadte(BCA, Third Year undergraduate at  DM's Col...Android a glimpse by kishan phadte(BCA, Third Year undergraduate at  DM's Col...
Android a glimpse by kishan phadte(BCA, Third Year undergraduate at DM's Col...DM's College, Assagao Goa
 
Android Technology
Android TechnologyAndroid Technology
Android TechnologyR
 
Android Seminar BY Suleman Khan.pdf
Android Seminar BY Suleman Khan.pdfAndroid Seminar BY Suleman Khan.pdf
Android Seminar BY Suleman Khan.pdfNomanKhan869872
 

Similaire à Introduction to Android, Architecture & Components (20)

Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android
 
Android report.
Android report.Android report.
Android report.
 
Android presantation
Android presantationAndroid presantation
Android presantation
 
Knowledge about android operating system
Knowledge about android operating systemKnowledge about android operating system
Knowledge about android operating system
 
Basic of Android App Development
Basic of Android App DevelopmentBasic of Android App Development
Basic of Android App Development
 
android
androidandroid
android
 
Software training report
Software training reportSoftware training report
Software training report
 
Android seminar report
Android seminar reportAndroid seminar report
Android seminar report
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_auth
 
Android application development(training) (1)
Android application development(training) (1)Android application development(training) (1)
Android application development(training) (1)
 
Phonebook Directory or Address Book In Android
Phonebook Directory or Address Book In AndroidPhonebook Directory or Address Book In Android
Phonebook Directory or Address Book In Android
 
Introduction to Android.ppt
Introduction to Android.pptIntroduction to Android.ppt
Introduction to Android.ppt
 
Android introduction
Android introductionAndroid introduction
Android introduction
 
Android
AndroidAndroid
Android
 
Android a glimpse by kishan phadte(BCA, Third Year undergraduate at DM's Col...
Android a glimpse by kishan phadte(BCA, Third Year undergraduate at  DM's Col...Android a glimpse by kishan phadte(BCA, Third Year undergraduate at  DM's Col...
Android a glimpse by kishan phadte(BCA, Third Year undergraduate at DM's Col...
 
Android Technology
Android TechnologyAndroid Technology
Android Technology
 
Android
AndroidAndroid
Android
 
Android Seminar BY Suleman Khan.pdf
Android Seminar BY Suleman Khan.pdfAndroid Seminar BY Suleman Khan.pdf
Android Seminar BY Suleman Khan.pdf
 
Android ppt
Android ppt Android ppt
Android ppt
 
Android Applications
Android ApplicationsAndroid Applications
Android Applications
 

Dernier

Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
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 SavingEdi Saputra
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
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, Adobeapidays
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
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 FMESafe Software
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
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 Takeoffsammart93
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
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 Pakistandanishmna97
 
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...apidays
 

Dernier (20)

Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
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
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
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
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
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
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
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
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
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
 
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...
 

Introduction to Android, Architecture & Components

  • 1. Introduction to Android and Its Components Sisoft Technologies Pvt Ltd SRC E7, Shipra Riviera Bazar, Gyan Khand-3, Indirapuram, Ghaziabad Website: www.sisoft.in Email:info@sisoft.in Phone: +91-9999-283-283 1
  • 2. 1. Introduction What is Android? • A software platform and operating system for mobile devices. • As Smart phone OS, it is based on the Linux kernel. • Android is Framework for developing mobile apps. Framework is set of Interfaces and classes .Framework follow the structure. • Allows writing managed code in the Java language. • Android is an open-source platform founded in October 2003 by Andy Rubin and backed by Google in November 2007. • Developed by Google and later the Open Handset Alliance (OHA). • Unveiling of the Android platform was announced on 5 November 2007(Android beta) with the founding of OHA. www.sisoft.in 2
  • 4. Linux Kernel • • • • • Works as a Hardware Abstraction Layer (HAL) Device drivers Memory management Process management Networking www.sisoft.in 4
  • 5. Libraries • • • • • C/C++ libraries Interface through Java Surface manager – Handling UI Windows 2D and 3D graphics Media codecs, SQLite, Browser engine www.sisoft.in 5
  • 6. Android Runtime • Dalvik VM Dex files Compact and efficient than class files Limited memory and battery power • Core Libraries  Java 5 Std edition  Collections, I/O etc www.sisoft.in 6
  • 7. Application Framework • API interface • Activity manager :- manages application life cycle. • XMPP Service :- Extensible Messaging and Presence Protocol (XMPP) is a communications protocol for message-oriented middleware based on XML www.sisoft.in 7
  • 8. Applications • Built in and user apps • Can replace built in apps www.sisoft.in 8
  • 10. Android Version & API Level Platform Version API Level VERSION_CODE Android 4.4 19 KITKAT Android 4.3 18 JELLY_BEAN_MR2 Android 4.2, 4.2.2 17 JELLY_BEAN_MR1 Android 4.1, 4.1.1 16 JELLY_BEAN Android 4.0.3, 4.0.4 15 ICE_CREAM_SANDWICH_MR1 Android 4.0, 4.0.1, 4.0.2 14 ICE_CREAM_SANDWICH Android 3.2 13 HONEYCOMB_MR2 Android 3.1.x 12 HONEYCOMB_MR1 Android 3.0.x 11 HONEYCOMB Android 2.3.4 , Android 2.3.3 10 GINGERBREAD_MR1 Android 2.3.2 , Android 2.3.1, Android 2.3 9 GINGERBREAD Android 2.2.x 8 FROYO Android 2.1.x 7 ECLAIR_MR1 Android 2.0.1 6 ECLAIR_0_1 Android 2.0 5 ECLAIR Android 1.6 4 DONUT Android 1.5 3 CUPCAKE www.sisoft.in 10
  • 11. Version History • Android beta  The Android beta was released on 5 November 2007,while the software development kit(SDK) was released on 12 November 2007. • Android 1.0  Android 1.0, the first commercial version of the software, was released on 23 September 2008. • Android 1.1  On 9 February 2009, the Android 1.1 update was released, initially for the HTC Dream only. Android 1.1 was known as "Petit Four" internally, though this name was not used officially. The update resolved, changed the Android API and added a number of features. www.sisoft.in 11
  • 12. Version History • Android 1.5 Cupcake  Release on 30 April 2009, the Android 1.5 update was released, based on Linux kernel 2.6.27. This was the first release to officially use a name based on a dessert ("Cupcake"), a theme which would be used for all releases henceforth. The update included several new features and UI amendments . • Android 1.6 Donut  Release on 15 September 2009, the Android 1.6 SDK – dubbed Donut – was released, based on Linux kernel 2.6.29.Included in the update were numerous new features. www.sisoft.in 12
  • 13. Version History • Android 2.0/2.1 Eclair  Release on 26 October 2009, the Android 2.0 SDK – codenamed Eclair – was released, based on Linux kernel 2.6.29. Changes included • Android 2.2.x Froyo  Release on 20 May 2010, Android 2.2 (Froyo, short for Frozen Yogurt) SDK was released, based on Linux kernel 2.6.32 • Android 2.3.x Gingerbread  Release on 6 December 2010, the Android 2.3 (Gingerbread) SDK was released, based on Linux kernel 2.6.35. Changes included www.sisoft.in 13
  • 14. Android 3.x Honeycomb Android 3.x Honeycomb: Release on 22 February 2011, the Android3.0 (Honeycomb) SDK – the first tablet-only Android update – was released, based on Linux kernel 2.6.36. The first device featuring this version, the Motorola Xoom tablet, was released on 24 February 2011. www.sisoft.in 14
  • 15. Android 4.0.x Ice Cream Sandwich • Android 4.0.x Ice Cream Sandwich  The SDK for Android 4.0.1 (Ice Cream Sandwich), based on Linux kernel 3.0.1, was publicly released on 19 October 2011.Google's Gabe Cohen stated that Android 4.0 was "theoretically compatible" with any Android 2.3.x device in production at that time.  The source code for Android 4.0 became available on 14 November 2011. The update introduced numerous new features, including: www.sisoft.in 15
  • 16. Android 4.1/4.2 Jelly Bean  Android 4.1/4.2 Jelly Bean  Google announced Android 4.1 (Jelly Bean) at the Google I/O conference on 27 June 2012. Based on Linux kernel 3.0.31, Jelly Bean was an incremental update with the primary aim of improving the functionality and performance of the user Interface.  The performance improvement involved "Project Butter", which uses touch anticipation, triple buffering, extended vsync timing and a fixedframe rate of 60 fps to create a fluid and "buttery-smooth" UI. Android 4.1Jelly Bean was released to the Android Open Source Project on 9 July 2012, and the Nexus 7 tablet, the first device to run Jelly Bean, was released on 13 July 2012. www.sisoft.in 16
  • 17. Android 4.1/4.2 Jelly Bean  Google was expected to announce Jelly Bean 4.2 at an event in New York City on 29 October 2012, but the event was cancelled due to Hurricane Sandy. Instead of rescheduling the live event, Google announced the new version with a press release, under the slogan "A new flavor of Jelly Bean". The first devices to run Android 4.2 were LG‘s Nexus 4 and Samsung‘s Nexus 10, which were released on 13 November 2012. www.sisoft.in 17
  • 18. Android 4.3 /Android 5.0 • Android 4.3 Kitkat www.sisoft.in 18
  • 19. Application Building Blocks Sisoft Technologies Pvt Ltd SRC E7, Shipra Riviera Bazar, Gyan Khand-3, Indirapuram, Ghaziabad Website: www.sisoft.in Email:info@sisoft.in Phone: +91-9999-283-283 19
  • 20. Application Building Blocks Android applications consist of loosely coupled components, bound by the application manifest that describes each component and how they interact. The manifest is also used to specify the application’s metadata, its hardware and platform requirements, external libraries, and required permissions • • • • • • • • Activity Service Content Provider Broadcast receivers Intent Notifications Resources Fragments www.sisoft.in 20
  • 21. Activities : Screen Holder • An Activity represents the visual representation of an Android application. Typically correspond to one UI screen • One activity in an application is specified as the "main" activity, which is presented to the user when launching the application for the first time • An application usually consists of multiple activities that are loosely bound to each other www.sisoft.in 21
  • 22. Activities start each other Moving from one activity to another is accomplished by having the current activity start the next one through so called intents. www.sisoft.in 22
  • 23. Activities – The View • Each activity has a default window to draw in (although it may prompt for dialogs or notifications) • The content of the window is a view or a group of views (derived from View or ViewGroup) • Example of views: buttons, text fields, scroll bars, menu items, check boxes, etc. • View(Group) made visible via Activity.setContentView() method. www.sisoft.in www.sisoft.in
  • 24. Services: Background component • A service is a component which runs in the background, without direct interaction with the user • The Android platform provides and runs predefined system services and every Android application can use them, given the right permissions. www.sisoft.in 24
  • 25. Broadcast Receivers: Passive Actor • Receive and react to broadcast announcements • Examples of broadcasts: – Low battery, power connected, shutdown, timezone changed, etc. – Other applications can initiate broadcasts • To create a new Broadcast Receiver, extend the BroadcastReceiver class and override the onReceive event handler 25 www.sisoft.in
  • 26. Content Providers: Data Access Mechanism • Makes some of the application data available to other applications • It’s the only way to transfer data between applications in Android (no shared files, shared memory, pipes, etc.) • Extends the class ContentProvider; • Other applications use a ContentResolver object to access the data provided via a ContentProvider 26 www.sisoft.in
  • 27. Intent: Messenger • An intent is an abstract description of an operation to be performed • Moving from one activity to another is accomplished by having the current activity start the next one through intents • The intents can communicate messages among any of the three core components of an application activities, services, and broadcast receivers • Data across components is also passed thru intents www.sisoft.in 27
  • 28. Notifications: Reminding User • Android allows to put notification into the Title bar of your application. The user can expand the notification bar and by selecting the notification the user can trigger another activity. • There are three types of notifications in Android.  Toast Notifications  Status Bar Notifications  Dialog Notifications Toast Notification Status Bar Notifications Dialog Notifications www.sisoft.in 28
  • 29. Resources: App Program Data • Android supports that resources like images and certain XML configuration files, can be kept separate from the source code. • Resource files must be placed in the /res directory in a predefined sub-folder dependent on their type. You can also append additional qualifiers to the folder name to indicate that the related resources should be used for special configurations. • For example, you can specify that layout file is only valid for a certain screen size. www.sisoft.in 29
  • 30. Widgets • Visual application components that are typically added to the device home screen. • A special variation of a Broadcast Receiver, widgets enable you to create dynamic, interactive application components for users to embed on their home screens. www.sisoft.in 30

Notes de l'éditeur

  1. ARM(Advanced RISC Machine), RISC = reduced instruction set computer
  2. ok
  3. The Hardware Abstraction Layer (HAL) :-Traditionally, desktop applications discovered hardware by communicating directly with the kernel, which maintains the list of devices connected to the system. The Hardware Abstraction Layer (HAL) makes information about certain classes of hardware accessible in a uniform format.
  4. http://developer.android.com/guide/topics/manifest/uses-sdk-element.html