Launch the Meeting app from your app

The code on this page works with either the default UI or the custom UI.

Normally, you would embed a meeting invitation URL in your app which, when selected by a user, launches the Zoom app and lets the user join the meeting. It is also possible to allow users to launch just the Zoom app from within your app by pressing a link or a button without specifying a meeting parameter.

For Android apps, you can either use the package ID or the URL to enable the launch feature.

Method 1: Use the package ID

Use Android's built-in PackageManager to launch the Zoom App using this package id:us.zoom.videomeetings. This action includes a step that searches the app that matches the package ID in the system, so you might notice latency of about one second while executing.

private void launchZoomClient() {
    PackageManager pm = getPackageManager();
    Intent intent = pm.getLaunchIntentForPackage("us.zoom.videomeetings");
    if (intent != null) {
        startActivity(intent);
    }
    }

Method 2: Use the URL

Using the URL is faster, as the URL scheme of our Meeting SDK has been registered in the system which enables deep links. Parse the URL zoomus:// and launch it.

private void launchZoomUrl() {
    Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("zoomus://"));
    if (intent.resolveActivity(getPackageManager()) != null) {
        startActivity(intent);
    }
}