Example #1
0
 public override void OnCreate()
 {
     base.OnCreate();
     throw new Exception("请拷贝 Appkey  Umeng Message Secret");
     //友盟组件初始化
     UMConfigure.Init(this, "Appkey", "Umeng",
                      UMConfigure.DeviceTypePhone,
                      "Umeng Message Secret");
     InitUpush();
 }
Example #2
0
 /// <summary>
 /// 集成友盟
 /// </summary>
 private void UMeng()
 {
     UMConfigure.Init(this, "5e6cc7d4167edde636000076", "AutoLuaUM", UMConfigure.DeviceTypePhone, null);
     MobclickAgent.SetPageCollectionMode(MobclickAgent.PageMode.Manual);
 }