The process is is set to foreground. The application gets focus and can get OnResume(): user input. OnPause(): When the device goes to sleep or the application loses focus the process is set to visible. From here, the process may be resumed or stopped The activity is not visible and the process type is set to background and the OnStop(): application can be killed at any time OnDestroy(): This method is called right before the system kills the process and the application deletes the activity
OnResume(): The process is is set to foreground. The application gets focus and can get user input. OnPause(): When the device goes to sleep or the application loses focus the process is set to visible. From here, the process may be resumed or stopped OnStop(): The activity is not visible and the process type is set to background and the application can be killed at any time OnDestroy(): This method is called right before the system kills the process and the application deletes the activity