更新時(shí)間:2019-11-20
通過(guò)此方式可以拉起用戶(hù)設(shè)備上已經(jīng)安裝的CloudLink應(yīng)用并根據(jù)鏈接中傳入的參數(shù)執(zhí)行登錄鑒權(quán)。
業(yè)務(wù)流程
Uri.Builder builder = new Uri.Builder() .scheme("cloudlink") .authority("welinksoftclient") .path("h5page") .appendQueryParameter("page","ssoLogin") .appendQueryParameter("server_url",serverAddress) .appendQueryParameter("port",portString) .appendQueryParameter("domain",domain) .appendQueryParameter("code",code); DemoUtil.openCloudLinkWithURL(getContext(),builder.toString()); ; |