MCQs Test!! VB Basic Test !! Essentials of VB !! Creating User Services !! function !! Anatomy !! GK March-2019 !! DATA TYPES IN JAVA !! Classes ,Constructor ,Methods,Inheritance !! Ecology-I !! Biology 2019 !! Gk april 2019 !! Biology (living world) !! Plant anatomy !! CELL STRUCTURES AND FUNCTION !! General biology !! Human physiology !! Data structure !! Ecology-II !! GK TEST !! Reproduction in plants !! Human reproduction !! The ABC of C !! Operating system set1 !! Operating system set2 !! Gk and current affairs !! Animal kingdom !! Number system !! Animal kingdom-II !! Gk TEST-III !! Number series !! Microorganisms !! Interview question in c !! Time and Work !! Percentage !! General history !! Average !! Cells !! Locomotion and Movement !! paging !! Bacteriology !! Page replacement policy !! Secondary memory and Disk scheduling !! Introduction of Nervous System and neurons !! Plant harmones !! Transport and Mineral Nutrition in Plants !! Neurotransmitters !! Modern Indian History !! Photosynthesis in Plants !! Modern Indian History-II !! Plant respiration !! Environment & Biodiversity !! Environment & Biodiversity - II !! Algae, Bryophytes, Pteridophytes !! Area !! Cricket !! Days of the Year (India and the World) !! Plant Pathology - I !! Indian Transport System !! Plant Pathology - II !! Aptitude !! Biology !! Botany !! C language !! Computer Science !! Core Java !! Gate !! GK !! Mysql !! Operating system !! Physics !! VB-Visual Basic !! Zoology

Android

Android Process
Previous Home Next

Android system starts a new process for the application with a single thread of execution when an application component starts. Different components in your application to run in separate processes and you can create additional threads for any process. android:process attribute that can specify a process in which that component should run. We can set android:process so that components of different applications run in the same process.

Level of Process

There are some level of process.

 

  1. Foreground process : Foreground process is focus what is currently doing.when startForeground() method is called then services is started.
  2. Visible process: Visible process is what the user sees on screen. A visible process is important and will not be killed unless doing so is required to keep all foreground processes running.
  3. Service process: Service is started when startService() method is called .This service is used handle network transactions, play music, perform file I/O, or interact with a content provider, all running in the background.
  4. Background process : This process is always running on background but not visible to everyone. when service start background process atomatically.
  5. Empty process : A Empty process that doesn't hold any active application components. The only reason to keep this kind of process alive is for caching purposes, to improve startup time the next time a component needs to run in it.
  6. Previous Home Next