SlideShare uma empresa Scribd logo
1 de 22
TOPIC:CONCURRENCY
CONTROL MECHANISMS
ANDROID OS
ANDROID OS
ANDROID OS
 Android is an operating system based on the Linux
kernel.
 Its source code is written in c++,C(CORE) and JAVA.
 Android devices boot to the homescreen, the primary
navigation and information point on the device, which is
similar to the desktop found on PCs.
 Its an open source operating system and in most devices
with proprietary rights Android's source code is released
by Google under the Apache License 2.0 which allows
everyone to freely modify and distribute Android under
various names except by reusing the "Android"
trademark.
ANDROID OS
 It is designed primarily for touch screens mobile
devices such as smart phones and tablet
computers.
 Android's user interface is based on direct
manipulation ,using touch inputs that loosely
correspond to real-world actions, like
swiping, tapping, pinching, and reverse pinching to
manipulate on-screen objects.
 Android is popular with technology companies which
require a ready-made, low-cost and customizable
operating system for high-tech devices
HISTORY
 The version history of the Android mobile
operating system began with the release of
the Android beta in November 2007.
 The first commercial version, Android 1.0,
was released in September 2008. Android is
under ongoing development by Google and
the Open Handset Alliance (OHA), and has
seen a number of updates to its base
operating system since its initial release.
HISTORY
 Since April 2009, Android versions have been
developed under a confectionery-themed code
name and released in alphabetical order:
Cupcake (1.5), Donut (1.6), Eclair (2.0–2.1),
Froyo (2.2–2.2.3), Gingerbread (2.3–2.3.7),
Honeycomb (3.0–3.2.6), Ice Cream Sandwich
(4.0–4.0.4), Jelly Bean (4.1–4.3), and KitKat
(4.4–4.4.2).
 The most recent major Android update was
KitKat 4.4, which was released to commercial
devices on 22 November 2013
Android OS versions
1.0 September 2008
•1.1 February 2009
•1.5 (Cupcake) April 2009
•1.6 (Donut) September 2009
•2.0/2.1 (Éclair) October 2009
•2.2 (Froyo) May 2010
•2.3 (Gingerbread) December 2010
•3.0/1 (Honeycomb) February/May 2011
•3.2.x July/Sept/Aug/Dec 2011, 3.2.6 Feb 2012
•4.0.x (Ice Cream Sandwich) Oct, Nov, Dec 2011, March 2012
•4.1-4.3(Jelly bean)
•4.4 (KitKat) September 2013
ANDROID OS
 FEATURES
GENERAL-
 SMS and MMS are available forms of messaging,
including threaded text messaging and Android
Cloud To Device Messaging (C2DM).
 The web browser available in Android is based on
the open-source Blink (previously WebKit) layout
engine, coupled with Chrome's V8 JavaScript
engine.
ANDROID OS
 Android has native support for multi-touch
 Multitasking of applications, with unique handling of
memory allocation, is available.
 Android devices can include still/video cameras,
touchscreens, GPS, accelerometers, gyroscopes,
barometers, magnetometers, dedicated gaming controls,
proximity and pressure sensors, thermometers, accelerated
2D bit blits (with hardware orientation, scaling, pixel
format conversion) and accelerated 3D graphics
ANDROID OS
 Java classes are compiled into Dalvik executables
and run on Dalvik, a specialized virtual machine
designed specifically for Android and optimized for
battery-powered mobile devices with limited
memory and CPU.
What is Concurrency Control?
Concurrency Control ensures that correct
results for concurrent operations are
generated, while getting those results as quickly
as possible.
What’s the need of concurrency control
mechanism?
 To obey or to meet certain consistency rules. When
components that operate concurrently interact by
messaging or by sharing accessed data
(in memory or storage), a certain component's
consistency may be violated by another component.
 And to control that violation concurrency control
mechanism is needed.
• Each and every operating systems has their own
concurrency control mechanism to prevent violation.
• Here we will discuss about the concurrency control
mechanism in ANDROID operating system.
Thread
• For Android Developer, thread can help to increase
the performance of application.
• Thread is a Concurrent unit of execution.
• Each application has at least one thread running
when it’s started, that thread is called as the main
thread.
• Each Thread has their own priority level so the
Android OS can create a schedule when the thread
will be executed. The priority can be set using
setPriority(int) method.
How to create?
• There are two ways to execute code in a thread.
• First you can subclass thread class and override the
run() method.
• Second you can construct a new Thread and then
pass a Runnable to the constructor.
• In either case, the start() method must be called to
actually execute the new thread.
• Nowadays Android phone usually equipped with
multicore processors like HTC one, Xperia Z,
Samsung Galaxy S4, etc.
• To maximize the potential of the phone we can use
multithreading to increase the performance of our
application.
LOOPING
 Looping is a class that turns a thread into a pipeline
Thread.
 The Looper is named so because it implements the
loop – takes the next task, execute it,then takes the
next one and so on.
Handler
• A Handler allows you to send and
process Message and Runnable objects associated
with a thread's MessageQueue.
• There are two main uses for a Handler:
• (1) to schedule messages and runables to be
executed as some point in the future; and
• (2) to enqueue an action to be performed on a
different thread than your own.
Asynctask
• AsyncTask allows to perform background operations
and publish results on the UI thread without having
to manipulate threads and/or handlers.
• AsyncTask is designed to be a helper class around
Thread and Handler.
How to use
• Asynctask must be subclassed to be used.
• The subclass will have to override at least one
method -> doInBackground(Params…)
• To execute Asynctask you can create a new object
from the class that subclassing asynctask and then
call execute(Params…) method.
THANK YOU

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Unity 3 d
Unity 3 dUnity 3 d
Unity 3 d
 
Android OS
Android OSAndroid OS
Android OS
 
Windows 10 presentation
Windows 10 presentationWindows 10 presentation
Windows 10 presentation
 
Multi Touch & Microsoft Surface
Multi Touch & Microsoft SurfaceMulti Touch & Microsoft Surface
Multi Touch & Microsoft Surface
 
Mobile operating system by Shabeeb
Mobile operating system by ShabeebMobile operating system by Shabeeb
Mobile operating system by Shabeeb
 
Android
AndroidAndroid
Android
 
ANDROID TECHNOLOGY
ANDROID TECHNOLOGYANDROID TECHNOLOGY
ANDROID TECHNOLOGY
 
Android ppt
Android pptAndroid ppt
Android ppt
 
History of Android
History of AndroidHistory of Android
History of Android
 
Mobile OS Computer presentation
Mobile OS Computer presentationMobile OS Computer presentation
Mobile OS Computer presentation
 
Android OS version history
Android OS version historyAndroid OS version history
Android OS version history
 
Windows 7
Windows 7Windows 7
Windows 7
 
Android OS by Prasad & Sarang
Android OS by Prasad & SarangAndroid OS by Prasad & Sarang
Android OS by Prasad & Sarang
 
Srinumanne ios operating system ppt
Srinumanne ios operating system pptSrinumanne ios operating system ppt
Srinumanne ios operating system ppt
 
Apple iOS
Apple iOSApple iOS
Apple iOS
 
Computer Keyboards
Computer KeyboardsComputer Keyboards
Computer Keyboards
 
Android Versions
Android VersionsAndroid Versions
Android Versions
 
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 workShop
Android workShopAndroid workShop
Android workShop
 
Comparison of mobile os
Comparison of mobile osComparison of mobile os
Comparison of mobile os
 

Destaque

Data Science and Big Data Analytics Book from EMC Education Services
Data Science and Big Data Analytics Book from EMC Education ServicesData Science and Big Data Analytics Book from EMC Education Services
Data Science and Big Data Analytics Book from EMC Education ServicesEMC
 
Big Data/DIG: Domain-Specific Insight Graphs by Pedro Szekely of ISI/USC
Big Data/DIG: Domain-Specific Insight Graphs by Pedro Szekely of ISI/USCBig Data/DIG: Domain-Specific Insight Graphs by Pedro Szekely of ISI/USC
Big Data/DIG: Domain-Specific Insight Graphs by Pedro Szekely of ISI/USCETCenter
 
Biometrics based key generation
Biometrics based key generationBiometrics based key generation
Biometrics based key generationPiyush Rochwani
 
Pipelining and co processor.
Pipelining and co processor.Pipelining and co processor.
Pipelining and co processor.Piyush Rochwani
 
Big data lecture notes
Big data lecture notesBig data lecture notes
Big data lecture notesMohit Saini
 
Hadoop Analytics + Enterprise Class Storage: One-Stop Solution From EMC for H...
Hadoop Analytics + Enterprise Class Storage: One-Stop Solution From EMC for H...Hadoop Analytics + Enterprise Class Storage: One-Stop Solution From EMC for H...
Hadoop Analytics + Enterprise Class Storage: One-Stop Solution From EMC for H...EMC
 
Big Data & Hadoop Tutorial
Big Data & Hadoop TutorialBig Data & Hadoop Tutorial
Big Data & Hadoop TutorialEdureka!
 

Destaque (20)

8086 Microprocessor
8086 Microprocessor8086 Microprocessor
8086 Microprocessor
 
Big Data Analysis Starts with R
Big Data Analysis Starts with RBig Data Analysis Starts with R
Big Data Analysis Starts with R
 
Data Science and Big Data Analytics Book from EMC Education Services
Data Science and Big Data Analytics Book from EMC Education ServicesData Science and Big Data Analytics Book from EMC Education Services
Data Science and Big Data Analytics Book from EMC Education Services
 
Big Data/DIG: Domain-Specific Insight Graphs by Pedro Szekely of ISI/USC
Big Data/DIG: Domain-Specific Insight Graphs by Pedro Szekely of ISI/USCBig Data/DIG: Domain-Specific Insight Graphs by Pedro Szekely of ISI/USC
Big Data/DIG: Domain-Specific Insight Graphs by Pedro Szekely of ISI/USC
 
Biometrics based key generation
Biometrics based key generationBiometrics based key generation
Biometrics based key generation
 
EMC config Hadoop
EMC config HadoopEMC config Hadoop
EMC config Hadoop
 
05 multiply divide
05 multiply divide05 multiply divide
05 multiply divide
 
Raid
Raid Raid
Raid
 
Air pollution in mumbai
Air pollution in mumbaiAir pollution in mumbai
Air pollution in mumbai
 
Unit 3
Unit 3Unit 3
Unit 3
 
Unit 2
Unit 2Unit 2
Unit 2
 
Pipelining and co processor.
Pipelining and co processor.Pipelining and co processor.
Pipelining and co processor.
 
Big data lecture notes
Big data lecture notesBig data lecture notes
Big data lecture notes
 
Serial transmission
Serial transmissionSerial transmission
Serial transmission
 
06 floating point
06 floating point06 floating point
06 floating point
 
Paging and segmentation
Paging and segmentationPaging and segmentation
Paging and segmentation
 
Hadoop Analytics + Enterprise Class Storage: One-Stop Solution From EMC for H...
Hadoop Analytics + Enterprise Class Storage: One-Stop Solution From EMC for H...Hadoop Analytics + Enterprise Class Storage: One-Stop Solution From EMC for H...
Hadoop Analytics + Enterprise Class Storage: One-Stop Solution From EMC for H...
 
Big Data & Hadoop Tutorial
Big Data & Hadoop TutorialBig Data & Hadoop Tutorial
Big Data & Hadoop Tutorial
 
What is Big Data?
What is Big Data?What is Big Data?
What is Big Data?
 
Big data ppt
Big  data pptBig  data ppt
Big data ppt
 

Semelhante a Android os

Semelhante a Android os (20)

Android
AndroidAndroid
Android
 
Android Applications
Android ApplicationsAndroid Applications
Android Applications
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Android ppt
Android ppt Android ppt
Android ppt
 
PRESENTATION ON ANDROID
PRESENTATION ON ANDROIDPRESENTATION ON ANDROID
PRESENTATION ON 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 technology
Android technology Android technology
Android technology
 
Vijay android ppt
Vijay android pptVijay android ppt
Vijay android ppt
 
Android 130923124440-phpapp01
Android 130923124440-phpapp01Android 130923124440-phpapp01
Android 130923124440-phpapp01
 
Android Application Development Training by NITIN GUPTA
Android Application Development Training by NITIN GUPTA Android Application Development Training by NITIN GUPTA
Android Application Development Training by NITIN GUPTA
 
Mobile Hacking Unit 1
Mobile Hacking Unit 1Mobile Hacking Unit 1
Mobile Hacking Unit 1
 
Android
AndroidAndroid
Android
 
Android presentation
Android presentationAndroid presentation
Android presentation
 
Mobile Application Development powerpoint
Mobile Application Development powerpointMobile Application Development powerpoint
Mobile Application Development powerpoint
 
Android 1
Android 1 Android 1
Android 1
 
Outstanding Improvement Award Outstanding Improvement Award
Outstanding Improvement Award Outstanding Improvement AwardOutstanding Improvement Award Outstanding Improvement Award
Outstanding Improvement Award Outstanding Improvement Award
 
Android based os
Android based osAndroid based os
Android based os
 
Android
AndroidAndroid
Android
 
Basic of Android App Development
Basic of Android App DevelopmentBasic of Android App Development
Basic of Android App Development
 
Android Technology
Android TechnologyAndroid Technology
Android Technology
 

Mais de Piyush Rochwani

Mais de Piyush Rochwani (11)

Sequential and combinational alu
Sequential and combinational alu Sequential and combinational alu
Sequential and combinational alu
 
Memory virtualization
Memory virtualizationMemory virtualization
Memory virtualization
 
Risc
RiscRisc
Risc
 
Page replacement algorithms
Page replacement algorithmsPage replacement algorithms
Page replacement algorithms
 
Dma
DmaDma
Dma
 
Control unit
Control unitControl unit
Control unit
 
Memory types
Memory typesMemory types
Memory types
 
Solid state solid state drives
Solid state solid state drivesSolid state solid state drives
Solid state solid state drives
 
Coa INTERUPT
Coa INTERUPTCoa INTERUPT
Coa INTERUPT
 
Cisc(a022& a023)
Cisc(a022& a023)Cisc(a022& a023)
Cisc(a022& a023)
 
Booth’s algorithm.(a014& a015)
Booth’s algorithm.(a014& a015)Booth’s algorithm.(a014& a015)
Booth’s algorithm.(a014& a015)
 

Último

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
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
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
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
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
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
 
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
 
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
 
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
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 

Último (20)

Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
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
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
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
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
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
 
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
 
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
 
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
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 

Android os

  • 3. ANDROID OS  Android is an operating system based on the Linux kernel.  Its source code is written in c++,C(CORE) and JAVA.  Android devices boot to the homescreen, the primary navigation and information point on the device, which is similar to the desktop found on PCs.  Its an open source operating system and in most devices with proprietary rights Android's source code is released by Google under the Apache License 2.0 which allows everyone to freely modify and distribute Android under various names except by reusing the "Android" trademark.
  • 4. ANDROID OS  It is designed primarily for touch screens mobile devices such as smart phones and tablet computers.  Android's user interface is based on direct manipulation ,using touch inputs that loosely correspond to real-world actions, like swiping, tapping, pinching, and reverse pinching to manipulate on-screen objects.  Android is popular with technology companies which require a ready-made, low-cost and customizable operating system for high-tech devices
  • 5. HISTORY  The version history of the Android mobile operating system began with the release of the Android beta in November 2007.  The first commercial version, Android 1.0, was released in September 2008. Android is under ongoing development by Google and the Open Handset Alliance (OHA), and has seen a number of updates to its base operating system since its initial release.
  • 6. HISTORY  Since April 2009, Android versions have been developed under a confectionery-themed code name and released in alphabetical order: Cupcake (1.5), Donut (1.6), Eclair (2.0–2.1), Froyo (2.2–2.2.3), Gingerbread (2.3–2.3.7), Honeycomb (3.0–3.2.6), Ice Cream Sandwich (4.0–4.0.4), Jelly Bean (4.1–4.3), and KitKat (4.4–4.4.2).  The most recent major Android update was KitKat 4.4, which was released to commercial devices on 22 November 2013
  • 7. Android OS versions 1.0 September 2008 •1.1 February 2009 •1.5 (Cupcake) April 2009 •1.6 (Donut) September 2009 •2.0/2.1 (Éclair) October 2009 •2.2 (Froyo) May 2010 •2.3 (Gingerbread) December 2010 •3.0/1 (Honeycomb) February/May 2011 •3.2.x July/Sept/Aug/Dec 2011, 3.2.6 Feb 2012 •4.0.x (Ice Cream Sandwich) Oct, Nov, Dec 2011, March 2012 •4.1-4.3(Jelly bean) •4.4 (KitKat) September 2013
  • 8. ANDROID OS  FEATURES GENERAL-  SMS and MMS are available forms of messaging, including threaded text messaging and Android Cloud To Device Messaging (C2DM).  The web browser available in Android is based on the open-source Blink (previously WebKit) layout engine, coupled with Chrome's V8 JavaScript engine.
  • 9. ANDROID OS  Android has native support for multi-touch  Multitasking of applications, with unique handling of memory allocation, is available.  Android devices can include still/video cameras, touchscreens, GPS, accelerometers, gyroscopes, barometers, magnetometers, dedicated gaming controls, proximity and pressure sensors, thermometers, accelerated 2D bit blits (with hardware orientation, scaling, pixel format conversion) and accelerated 3D graphics
  • 10. ANDROID OS  Java classes are compiled into Dalvik executables and run on Dalvik, a specialized virtual machine designed specifically for Android and optimized for battery-powered mobile devices with limited memory and CPU.
  • 11. What is Concurrency Control? Concurrency Control ensures that correct results for concurrent operations are generated, while getting those results as quickly as possible.
  • 12. What’s the need of concurrency control mechanism?  To obey or to meet certain consistency rules. When components that operate concurrently interact by messaging or by sharing accessed data (in memory or storage), a certain component's consistency may be violated by another component.  And to control that violation concurrency control mechanism is needed.
  • 13. • Each and every operating systems has their own concurrency control mechanism to prevent violation. • Here we will discuss about the concurrency control mechanism in ANDROID operating system.
  • 14. Thread • For Android Developer, thread can help to increase the performance of application. • Thread is a Concurrent unit of execution. • Each application has at least one thread running when it’s started, that thread is called as the main thread. • Each Thread has their own priority level so the Android OS can create a schedule when the thread will be executed. The priority can be set using setPriority(int) method.
  • 15. How to create? • There are two ways to execute code in a thread. • First you can subclass thread class and override the run() method. • Second you can construct a new Thread and then pass a Runnable to the constructor. • In either case, the start() method must be called to actually execute the new thread.
  • 16. • Nowadays Android phone usually equipped with multicore processors like HTC one, Xperia Z, Samsung Galaxy S4, etc. • To maximize the potential of the phone we can use multithreading to increase the performance of our application.
  • 17. LOOPING  Looping is a class that turns a thread into a pipeline Thread.  The Looper is named so because it implements the loop – takes the next task, execute it,then takes the next one and so on.
  • 18. Handler • A Handler allows you to send and process Message and Runnable objects associated with a thread's MessageQueue. • There are two main uses for a Handler: • (1) to schedule messages and runables to be executed as some point in the future; and • (2) to enqueue an action to be performed on a different thread than your own.
  • 19.
  • 20. Asynctask • AsyncTask allows to perform background operations and publish results on the UI thread without having to manipulate threads and/or handlers. • AsyncTask is designed to be a helper class around Thread and Handler.
  • 21. How to use • Asynctask must be subclassed to be used. • The subclass will have to override at least one method -> doInBackground(Params…) • To execute Asynctask you can create a new object from the class that subclassing asynctask and then call execute(Params…) method.