Activity States in android operating system

Activity States .
It has 4 states.

(1)Active:-An activity in this state means it is active and running.
It is visible to the user, and the user is able to interact with it.
Android runtime treats the activity in this state with highest priority and never tries to kill it. 

(2)Paused:-An activity in this state means that user can see the activity in the background such as behind a transparent window or a dialog box, but cannot interact with it lest he or she is done with the current view.
##It is still alive and retains its state information.

 ## Android runtime usually does not kill an activity in this state, but may do so in an extreme case of resource crunch.
 
(3)Stopped:-An activity in this state means that it is invisible but not destroyed.
It still retains its state information.
(4)Destroyed:-An activity in this state means that it is destroyed.
In this case, the activity does not retain its state.

Comments