|
|
@@ -24,7 +24,6 @@ import com.core.net.ssl.AuthImageDownloader;
|
|
|
import com.core.net.utils.NetUtils;
|
|
|
import com.core.net.volley.FastVolley;
|
|
|
import com.core.service.InitializeService;
|
|
|
-import com.core.utils.CommonUtil;
|
|
|
import com.hss01248.notifyutil.NotifyUtil;
|
|
|
import com.lidroid.xutils.HttpUtils;
|
|
|
import com.nostra13.universalimageloader.cache.disc.impl.TotalSizeLimitedDiscCache;
|
|
|
@@ -107,7 +106,7 @@ public class MyApplication extends BaseApplication {
|
|
|
mRequestQueue = Volley.newRequestQueue(this);
|
|
|
mHttpUtils = new HttpUtils();
|
|
|
configHttpUtils();
|
|
|
-
|
|
|
+ initUmengStatistics() ;
|
|
|
new Handler().postDelayed(new Runnable() {
|
|
|
@Override
|
|
|
public void run() {
|
|
|
@@ -118,6 +117,7 @@ public class MyApplication extends BaseApplication {
|
|
|
// 初始化图片加载
|
|
|
initImageLoader();
|
|
|
NotifyUtil.init(getInstance());
|
|
|
+
|
|
|
|
|
|
}
|
|
|
}, 1);
|
|
|
@@ -205,9 +205,8 @@ public class MyApplication extends BaseApplication {
|
|
|
MobclickAgent.UMAnalyticsConfig config = new MobclickAgent.UMAnalyticsConfig(this, "57ea27bb67e58e088c003bbf",
|
|
|
"baidu", MobclickAgent.EScenarioType.E_UM_NORMAL);
|
|
|
MobclickAgent.startWithConfigure(config);
|
|
|
- if (!CommonUtil.isReleaseVersion()) {//当前为开发版本时候不需要上传友盟
|
|
|
- MobclickAgent.setCatchUncaughtExceptions(false);
|
|
|
- }
|
|
|
+ // MobclickAgent.setCatchUncaughtExceptions(false);
|
|
|
+
|
|
|
}
|
|
|
|
|
|
private void configHttpUtils() {
|