public static void statsReportByMta( Context context, String eventId, String key, String value, String key1, String value1) { Properties prop = new Properties(); prop.setProperty(key, value); prop.setProperty(key1, value1); com.tencent.stat.StatService.trackCustomKVEvent(context, eventId, prop); }
public static void c(Context paramContext, QQToken paramQQToken) { b(paramContext, paramQQToken); String str1 = paramQQToken.getAppId(); String str2 = "Aqc" + str1; StatConfig.setAutoExceptionCaught(false); StatConfig.setEnableSmartReporting(true); StatConfig.setSendPeriodMinutes(1440); StatConfig.setStatSendStrategy(StatReportStrategy.PERIOD); StatConfig.setStatReportUrl("http://cgi.connect.qq.com/qqconnectutil/sdk"); try { StatService.startStatService(paramContext, str2, "1.0.0"); return; } catch (MtaSDkException localMtaSDkException) { Log.e("DEBUG", "MTA init Failed."); } }
private void backToSetting(int pos) { AppInfo appSelected = dataList.get(pos); AUTManager.pkn = appSelected.packageName; AUTManager.apn = appSelected.appName; AUTManager.appic = appSelected.appIcon; Env.CUR_APP_NAME = appSelected.packageName; // 清除旧的AUT_CLIENT ClientManager.getInstance().removeClient(ClientManager.AUT_CLIENT); // 创建新的AUT_CLIENT ClientFactory cf = new SingleInstanceClientFactory(); cf.orderClient(ClientManager.AUT_CLIENT, ClientManager.AUT_CLIENT.hashCode(), null, null); // MTA记录选中的AUT Properties prop = new Properties(); prop.setProperty("pkgName", AUTManager.pkn); StatService.trackCustomKVEvent(this, "Selected AUT", prop); this.finish(); }
public static void d(Context paramContext, QQToken paramQQToken) { b(paramContext, paramQQToken); if (paramQQToken.getOpenId() != null) StatService.reportQQ(paramContext, paramQQToken.getOpenId()); }
public static void a( Context paramContext, QQToken paramQQToken, String paramString, String[] paramArrayOfString) { b(paramContext, paramQQToken); StatService.trackCustomEvent(paramContext, paramString, paramArrayOfString); }
public static void statsReportByMta(Context context, String eventId, String lable) { com.tencent.stat.StatService.trackCustomEvent(context, eventId, lable); }