Java Code Examples for com.tencent.bugly.beta.Beta#smallIconId()
The following examples show how to use
com.tencent.bugly.beta.Beta#smallIconId() .
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: DoingDailyMainInit.java From DoingDaily with Apache License 2.0 | 5 votes |
private void initBugly() { Beta.autoInit = true; Beta.autoCheckUpgrade = true; Beta.showInterruptedStrategy = true; Beta.initDelay = 8 * 1000; Beta.canShowUpgradeActs.add(MainActivity.class); Beta.smallIconId = R.drawable.ic_notification_logo; Bugly.init(appContext, ConstantValues.BUGLY_ID, BuildConfig.DEBUG); //CrashReport.testJavaCrash(); }
Example 2
Source File: HHApplication.java From HHComicViewer with Apache License 2.0 | 5 votes |
/** * 初始化腾讯bugly */ private void initBugly() { Beta.largeIconId = R.mipmap.ic_launcher; Beta.smallIconId = R.mipmap.ic_launcher; //设置SD卡中的Download为默认的更新目录 Beta.storageDir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS); Bugly.init(getApplicationContext(), "e436df84f4", org.huxizhijian.sdk.util.Utils.isApkDebugable(this)); }