7 in every individual method let us add logi

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: d one is the string to be displayed. Here, we have assigned the string value "Activity: onCreate()" which shows that onCreate() method has been called. 6. Let us subsequently add the remaining methods by inserting the following. @Override protected void onDestroy() { // TODO Auto- generated method stub Log.i(TAG, "Activity: onDestroy()"); super.onDestroy(); } @Override protected void onPause() { // TODO Auto- generated method stub COMP 4521 (Spring 2014) Week 3 5 super.onPause(); Log.i(TAG, "Activity: onPause()"); } @Override protected void onRestart() { // TODO Auto- generated method stub super.onRestart(); Log.i(TAG, "Activity: onRestart()"); } @Override protected void onResume() { // TODO Aut...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online