Android application can be multi -process,and the Android operating system allows multiple application to run concurrently,provided memory and processing power is available.
Application can have background processes, and application can be interrupted and paused when events such as phone calls occurs.There can be only one active application Visible to the user at a time-specifically,a single application Activity is in the foreground at any given time.
The Android operating System keeps track of all Activity Objects running by placing them on an Activity stack(see Above figure)When a new Activity starts,the Activity on the top of the stack(the current foreground Activity)paused,and the new Activity pushes onto the top of the stack. When that Activity finishes,that Activity is removed from the activity stack,and the previous Activity in the stack resumes.
List Are The All Important Methods Of Activity Class
protected void onStart();
protected void onRestart();
protected void onResume();
protected void onPause();
protected void onStop();
protected void onDestroy();