| | |
| | | import com.google.gson.Gson |
| | | import com.google.protobuf.ByteString |
| | | import com.tencent.bugly.crashreport.CrashReport |
| | | import com.umeng.commonsdk.UMConfigure |
| | | import com.umeng.socialize.PlatformConfig |
| | | //import com.umeng.commonsdk.UMConfigure |
| | | //import com.umeng.socialize.PlatformConfig |
| | | import com.xuexiang.xui.XUI |
| | | import org.greenrobot.eventbus.EventBus |
| | | import org.jetbrains.anko.startActivity |
| | |
| | | // handleSSLHandshake() |
| | | //如果是主进程 |
| | | XUI.init(this) |
| | | UMConfigure.init( |
| | | this, |
| | | "62da14bc88ccdf4b7edb89cc", |
| | | "gaode", |
| | | UMConfigure.DEVICE_TYPE_PHONE, |
| | | "" |
| | | ) |
| | | // UMConfigure.init( |
| | | // this, |
| | | // "62da14bc88ccdf4b7edb89cc", |
| | | // "gaode", |
| | | // UMConfigure.DEVICE_TYPE_PHONE, |
| | | // "" |
| | | // ) |
| | | registerActivityLifecycleCallbacks(this) |
| | | PlatformConfig.setWeixin("wx6cbdae945b602b64", "f1c4a7d85118b5b841ef65349bd045dd") |
| | | PlatformConfig.setQQZone("1111276329", "JuAotVjQcUiesxgp") //qq互联 |
| | | // PlatformConfig.setWeixin("wx6cbdae945b602b64", "f1c4a7d85118b5b841ef65349bd045dd") |
| | | // PlatformConfig.setQQZone("1111276329", "JuAotVjQcUiesxgp") //qq互联 |
| | | CrashReport.initCrashReport(this, "163c95c374", true); |
| | | LogUtils.OpenLog(true) |
| | | initLogs() |