Пример #1
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.activity_lockscreen);
   TQJApplication.getInstance().addActivity(this);
   instance = this;
 }
Пример #2
0
 @Override
 protected void onDestroy() {
   TQJApplication.getInstance().finishActivity(this);
   super.onDestroy();
 }