@Override protected void onPause() { super.onPause(); // remember to remove the LOGO timer // mHandler.removeCallbacks(mShowLogoRunnable); }
@Override public void onStart() { super.onStart(); // this sample code let the user see the LOGO first // then to request a open splash ad later // mHandler.postDelayed(mShowLogoRunnable, 0); }
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_ce_open_splash); mHandler = new Handler(); // for audience targeting mPreferences = getSharedPreferences(SettingConfig.PREFERENCES_NAME, Context.MODE_PRIVATE); initAudienceTargetingTagList(); }
// XXX@OpenSplash-release@#OpenSplash-release# @Override protected void onDestroy() { super.onDestroy(); releaseSplashAd(); }