华为云会议 MEETING-拉起应用并登录:代码示例

时间:2024-04-26 18:44:37

代码示例

private void doNonceLinkApp(String nonce) {
    String startUrl = "cloudlink://welinksoftclient/h5page?page=launch&nonce=" + nonce;
    if (DemoUtil.packageInstalled(context, "com.huawei.CloudLink")) {
        Intent intent = new Intent();
        intent.setData(Uri.parse(url));
        intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        context.startActivity(intent);
    } else {
        showToast("应用未安装");
    }
}
support.huaweicloud.com/scheme-meeting/toctopics/zh-cn_topic_0000001285005101.html