首页 > 解决方案 > Android how can I set an Intent to open adobe connect app

问题描述

I want to check to exist adobe Connect and an intent to open adobe Connect android app

after that, I want to send a URL of a class by this intent

enter image description here

标签: androidadobeadobe-connect

解决方案


检查我更新的代码。这很好用

PackageManager pm = getPackageManager();
        Intent sendIntent = pm.getLaunchIntentForPackage("air.com.adobe.connectpro");
        if (sendIntent != null) {
            startActivity(sendIntent);
        }
        else{
            Toast.makeText(this, "app not found", Toast.LENGTH_SHORT).show();
        }

推荐阅读