Learning Activity function in Android Project.