use of me.yluo.ruisiapp.App in project Ruisi by freedom10086.
the class LaunchActivity method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
setContentView(R.layout.activity_launch);
App app = (App) getApplication();
app.regReciever();
launch_text = findViewById(R.id.app_name);
logo = findViewById(R.id.logo);
loadUserImg();
setCopyRight();
new Handler().postDelayed(() -> enterHome(), WAIT_TIME);
}
use of me.yluo.ruisiapp.App in project Ruisi by freedom10086.
the class HomeActivity method onDestroy.
@Override
protected void onDestroy() {
App app = (App) getApplication();
app.unRegRecieve();
super.onDestroy();
}