SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

Tendances (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
 

En vedette

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!
 

En vedette (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
 

Similaire à Android os

Similaire à Android os (20)

Android
AndroidAndroid
Android
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Android ppt
Android ppt Android ppt
Android ppt
 
Android Applications
Android ApplicationsAndroid Applications
Android Applications
 
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
 

Plus de Piyush Rochwani

Plus 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)
 

Dernier

WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024Lorenzo Miniero
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform EngineeringMarcus Vechiato
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Skynet Technologies
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxFIDO Alliance
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceSamy Fodil
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfFIDO Alliance
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsLeah Henrickson
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfFIDO Alliance
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxFIDO Alliance
 
UiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overviewUiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overviewDianaGray10
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...ScyllaDB
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Hiroshi SHIBATA
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfSrushith Repakula
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGDSC PJATK
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe中 央社
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptxFIDO Alliance
 
Vector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptxVector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptxjbellis
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctBrainSell Technologies
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераMark Opanasiuk
 

Dernier (20)

WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
UiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overviewUiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overview
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
Vector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptxVector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptx
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 

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.