@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 onPause() {
   super.onPause();
   mStatusTracker.setStatus(mActivityName, getString(R.string.on_pause));
   Utils.printStatus(mStatusView, mStatusAllView);
 }