SlideShare uma empresa Scribd logo
1 de 22
Baixar para ler offline
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.
Android os
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 (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
 
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
 
Android 1
Android 1 Android 1
Android 1
 

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

Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsIgniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsSafe Software
 
20230202 - Introduction to tis-py
20230202 - Introduction to tis-py20230202 - Introduction to tis-py
20230202 - Introduction to tis-pyJamie (Taka) Wang
 
Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1DianaGray10
 
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAAnypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAshyamraj55
 
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Adtran
 
UiPath Studio Web workshop series - Day 5
UiPath Studio Web workshop series - Day 5UiPath Studio Web workshop series - Day 5
UiPath Studio Web workshop series - Day 5DianaGray10
 
100+ ChatGPT Prompts for SEO Optimization
100+ ChatGPT Prompts for SEO Optimization100+ ChatGPT Prompts for SEO Optimization
100+ ChatGPT Prompts for SEO Optimizationarrow10202532yuvraj
 
Introduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptxIntroduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptxMatsuo Lab
 
The Kubernetes Gateway API and its role in Cloud Native API Management
The Kubernetes Gateway API and its role in Cloud Native API ManagementThe Kubernetes Gateway API and its role in Cloud Native API Management
The Kubernetes Gateway API and its role in Cloud Native API ManagementNuwan Dias
 
Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024D Cloud Solutions
 
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintEmpowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintMahmoud Rabie
 
Cybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxCybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxGDSC PJATK
 
Videogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfVideogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfinfogdgmi
 
Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)Commit University
 
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDEADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDELiveplex
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationIES VE
 
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8DianaGray10
 
COMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a WebsiteCOMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a Websitedgelyza
 
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UbiTrack UK
 
Governance in SharePoint Premium:What's in the box?
Governance in SharePoint Premium:What's in the box?Governance in SharePoint Premium:What's in the box?
Governance in SharePoint Premium:What's in the box?Juan Carlos Gonzalez
 

Último (20)

Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsIgniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
 
20230202 - Introduction to tis-py
20230202 - Introduction to tis-py20230202 - Introduction to tis-py
20230202 - Introduction to tis-py
 
Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1
 
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAAnypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
 
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™
 
UiPath Studio Web workshop series - Day 5
UiPath Studio Web workshop series - Day 5UiPath Studio Web workshop series - Day 5
UiPath Studio Web workshop series - Day 5
 
100+ ChatGPT Prompts for SEO Optimization
100+ ChatGPT Prompts for SEO Optimization100+ ChatGPT Prompts for SEO Optimization
100+ ChatGPT Prompts for SEO Optimization
 
Introduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptxIntroduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptx
 
The Kubernetes Gateway API and its role in Cloud Native API Management
The Kubernetes Gateway API and its role in Cloud Native API ManagementThe Kubernetes Gateway API and its role in Cloud Native API Management
The Kubernetes Gateway API and its role in Cloud Native API Management
 
Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024
 
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintEmpowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership Blueprint
 
Cybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxCybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptx
 
Videogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfVideogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdf
 
Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)
 
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDEADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
 
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8
 
COMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a WebsiteCOMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a Website
 
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
 
Governance in SharePoint Premium:What's in the box?
Governance in SharePoint Premium:What's in the box?Governance in SharePoint Premium:What's in the box?
Governance in SharePoint Premium:What's in the box?
 

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.
  • 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.