Activity

What's an activity? activity documentation at google.

public class Activity extends ApplicationContext { 
     protected void onCreate(Bundle icicle); 

     protected void onStart(); 
     
     protected void onRestart(); 

     protected void onResume();

     protected void onFreeze(Bundle outIcicle); 

     protected void onPause(); 

     protected void onStop(); 

     protected void onDestroy(); 
 }