@Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.activity_b);
   getWindow().getAttributes().windowAnimations = R.style.Fade;
   mActivityName = getString(R.string.activity_b_label);
   mStatusView = (TextView) findViewById(R.id.status_view_b);
   mStatusAllView = (TextView) findViewById(R.id.status_view_all_b);
   mStatusTracker.setStatus(mActivityName, getString(R.string.on_create));
   Utils.printStatus(mStatusView, mStatusAllView);
 }
 @Override
 protected void onDestroy() {
   super.onDestroy();
   mStatusTracker.setStatus(mActivityName, getString(R.string.on_destroy));
 }
 @Override
 protected void onStop() {
   super.onStop();
   mStatusTracker.setStatus(mActivityName, getString(R.string.on_stop));
 }
 @Override
 protected void onPause() {
   super.onPause();
   mStatusTracker.setStatus(mActivityName, getString(R.string.on_pause));
   Utils.printStatus(mStatusView, mStatusAllView);
 }