Java Code Examples for com.umeng.analytics.MobclickAgent#onResume()

The following examples show how to use com.umeng.analytics.MobclickAgent#onResume() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: VerticalReaderActivity.java    From light-novel-library_Wenku8_Android with GNU General Public License v2.0 6 votes vote down vote up
@Override
protected void onResume() {
    super.onResume();
    MobclickAgent.onResume(this);

    // set navigation bar status, remember to disable "setNavigationBarTintEnabled"
    final int flags = View.SYSTEM_UI_FLAG_LAYOUT_STABLE
            | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
            | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
            | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION
            | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY;
    // This work only for android 4.4+
    if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
        getWindow().getDecorView().setSystemUiVisibility(flags);

        // Code below is to handle presses of Volume up or Volume down.
        // Without this, after pressing volume buttons, the navigation bar will
        // show up and won't hide
        final View decorView = getWindow().getDecorView();
        decorView.setOnSystemUiVisibilityChangeListener(visibility -> {
            if((visibility & View.SYSTEM_UI_FLAG_FULLSCREEN) == 0) {
                decorView.setSystemUiVisibility(flags);
            }
        });
    }
}
 
Example 2
Source File: UmengAnalytics.java    From MiBandDecompiled with Apache License 2.0 5 votes vote down vote up
public static void startSession(Context context)
{
    if (!b)
    {
        return;
    } else
    {
        Log.v("UmengAnalyticsTracker", (new StringBuilder()).append("Start Session : ").append(context).toString());
        MobclickAgent.onResume(context);
        return;
    }
}
 
Example 3
Source File: MobclickAgentProxy.java    From android-project-wo2b with Apache License 2.0 5 votes vote down vote up
public static void onResume(Context arg0, String arg1, String arg2)
{
	if (!DEBUG)
	{
		MobclickAgent.onResume(arg0, arg1, arg2);
	}
}
 
Example 4
Source File: ActivitySetting.java    From wakao-app with MIT License 5 votes vote down vote up
@Override
protected void onResume() {
	super.onResume();
	initAccount();
	MobclickAgent.onPageStart("Settings");
	MobclickAgent.onResume(this);
}
 
Example 5
Source File: ViewImageDetailActivity.java    From light-novel-library_Wenku8_Android with GNU General Public License v2.0 5 votes vote down vote up
@Override
protected void onResume() {
    super.onResume();
    MobclickAgent.onResume(this);

    showNavigationBar();
}
 
Example 6
Source File: BaseActivity.java    From gank with GNU General Public License v3.0 5 votes vote down vote up
@Override
protected void onPause() {
    Log.i(TAG, "onPause");
    MobclickAgent.onResume(this);
    super.onPause();

}
 
Example 7
Source File: ReminderSetupAty.java    From Huochexing12306 with Apache License 2.0 4 votes vote down vote up
public void onResume() {
	super.onResume();
	MobclickAgent.onResume(this);
}
 
Example 8
Source File: WatchActivity.java    From Viewer with Apache License 2.0 4 votes vote down vote up
public void onResume() {
	super.onResume();
	MobclickAgent.onResume(this);
}
 
Example 9
Source File: AboutActivity.java    From light-novel-library_Wenku8_Android with GNU General Public License v2.0 4 votes vote down vote up
public void onResume() {
    super.onResume();
    MobclickAgent.onResume(this);
}
 
Example 10
Source File: NovelChapterActivity.java    From light-novel-library_Wenku8_Android with GNU General Public License v2.0 4 votes vote down vote up
@Override
protected void onResume() {
    super.onResume();
    MobclickAgent.onResume(this);
}
 
Example 11
Source File: AboutActivity.java    From coderfun with GNU General Public License v3.0 4 votes vote down vote up
@Override
protected void onResume() {
    super.onResume();
    MobclickAgent.onResume(this);
}
 
Example 12
Source File: MainActivity.java    From UCDMediaPlayer_Android with MIT License 4 votes vote down vote up
@Override
protected void onResume() {
    super.onResume();
    MobclickAgent.onResume(this);
}
 
Example 13
Source File: ModifyPwdAty.java    From Huochexing12306 with Apache License 2.0 4 votes vote down vote up
public void onResume() {
	super.onResume();
	MobclickAgent.onResume(this);
}
 
Example 14
Source File: SplashActivity.java    From POCenter with MIT License 4 votes vote down vote up
public void onResume() {
    super.onResume();
    MobclickAgent.onResume(this);
}
 
Example 15
Source File: BaseActivity.java    From GankMeizhi with Apache License 2.0 4 votes vote down vote up
public void onResume() {
    super.onResume();
    MobclickAgent.onPageStart(getClass().getSimpleName());
    MobclickAgent.onResume(this);
}
 
Example 16
Source File: AtHomeCameraVideolistNaoCan.java    From Viewer with Apache License 2.0 4 votes vote down vote up
@Override
protected void onResume()
{
	super.onResume();
	MobclickAgent.onResume(this);
}
 
Example 17
Source File: BaseActivity.java    From SmallGdufe-Android with GNU General Public License v3.0 4 votes vote down vote up
@Override
protected void onResume() {
    super.onResume();
    MobclickAgent.onResume(this);
}
 
Example 18
Source File: SplashActivity.java    From freeiot-android with MIT License 4 votes vote down vote up
@Override
protected void onResume() {
    super.onResume();
    MobclickAgent.onPageStart(AnalyticsUtils.AnalyticsViewKeys.VIEW_SPLASH_ACTIVITY);
    MobclickAgent.onResume(this);
}
 
Example 19
Source File: SelectMemberActivity.java    From talk-android with MIT License 4 votes vote down vote up
@Override
public void onResume() {
    super.onResume();
    MobclickAgent.onResume(this);
    MobclickAgent.onPageStart(getClass().getName());
}
 
Example 20
Source File: MainActivity.java    From materialize with GNU General Public License v3.0 4 votes vote down vote up
@Override
protected void onResume() {
    super.onResume();
    MobclickAgent.onResume(this);
}