Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private String getStatiseData(Statise paramStatise)
- throws JSONException
- {
- ensureMac();
- if (TextUtils.isEmpty(this.mPhoneMac))
- {
- String str = MachineUtil.getLocalMacAddress(this.mContext);
- if (!TextUtils.isEmpty(str))
- this.mPhoneMac = str.replaceAll(":", "");
- }
- JSONObject localJSONObject = new JSONObject();
- localJSONObject.put("event", paramStatise.type);
- localJSONObject.put("imei", this.imei);
- localJSONObject.put("disnum", this.mDisNum);
- localJSONObject.put("model", Device);
- localJSONObject.put("time", paramStatise.time);
- localJSONObject.put("version", this.versionCode);
- localJSONObject.put("phonetype", this.phoneType);
- localJSONObject.put("net", paramStatise.network);
- localJSONObject.put("mac", this.mPhoneMac);
- localJSONObject.put("phonenum", this.phoneNum);
- localJSONObject.put("sdkversion", this.sdkVersion);
- localJSONObject.put("id", paramStatise.eventId);
- localJSONObject.put("pkg", paramStatise.pkg);
- localJSONObject.put("label", paramStatise.label);
- localJSONObject.put("action", paramStatise.action);
- return localJSONObject.toString();
- }
Advertisement
Add Comment
Please, Sign In to add comment