// mLinkKey: mLink 的 key, mLink的唯一标识
MLink.getInstance(context).register("jiduokey", new MLinkCallback() {
public void execute(Map paramMap, Uri uri, Context context) {
JSONObject jsonObj = new JSONObject(paramMap);
openUrlParm = null;
if (jsonObj.length() > 0) {
openUrlParm = jsonObj.toString();
}
Log.d("MLink url:", "openUrlParm :" + openUrlParm);
Log.d("MLink url:", "openUrlParm ");
//此句获取url里对应字段的数据
roomids = uri.getQueryParameter("code");
}
});
网友评论