Exemplo n.º 1
0
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   context = BaseActivity.this;
   //        TAG = getTAG();
   logsTag = getLocalClassName() + "-->";
   application = (DemoApplication) getApplication();
   application.addActivity(this);
 }
Exemplo n.º 2
0
 @Override
 protected void onDestroy() {
   application.delActivity(this);
   super.onDestroy();
 }