Esempio n. 1
0
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_welcome);

    startService(new Intent(context, CheckUpdateService.class));
    initLayoutAndView();
  }
Esempio n. 2
0
 @Override
 protected void onResume() {
   super.onResume();
   if (btn_continue != null) {
     SpeedGameEntity speedGame =
         SPUtil.getObject(V_SP.SP_SPEED_GAME_continue_ENTITY, SpeedGameEntity.class);
     if (speedGame != null) btn_continue.setVisibility(View.VISIBLE);
     else btn_continue.setVisibility(View.GONE);
   }
 }