Updated on 2022-07-19 GMT+08:00

Starting the App

Description

If the Huawei Cloud Meeting app is installed on a user device, the user can start and log in to the app as well as create and join a meeting directly by clicking a link provided by a third-party app.

Service Process

  1. Build a scheme.
  2. Run the scheme.

Code Sample

1
2
3
4
5
6
7
8
9
// Start the app.
if (packageInstalled("com.huawei.CloudLink")){
    String startUrl = "cloudlink://welinksoftclient/h5page?page=launch";
    Intent intent = new Intent();
    intent.setData(Uri.parse(url));
    startActivity(intent);
}else {
        Toast.makeText(this,"App not installed",Toast.LENGTH_LONG).show();
}