We will not go into details for the package

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: o- generated method stub super.onResume(); Log.i(TAG, "Activity: onResume()"); } @Override protected void onStart() { // TODO Auto- generated method stub super.onStart(); Log.i(TAG, "Activity: onStart()"); } @Override protected void onStop() { // TODO Auto- generated method stub super.onStop(); Log.i(TAG, "Activity: onStop()"); } or we can do that in the way shown in the Figure below: Right click on the class name and do the following: ClassName- >Source- >Override/Implement Methods.... Mark the methods that you want to incorporate in your class. COMP 4521 (Spring 2014) Week 3 6 NB: The methods that has already been incorporated within the class will not be displayed here. 7. In every individual method, let us add "Log.i() method" with the TAG and the message which denotes the me...
View Full Document

This document was uploaded on 03/12/2014.

Ask a homework question - tutors are online