android - 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
解决方案
检查我更新的代码。这很好用
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();
}
推荐阅读
- scala - Scalatest 运行器导致验证错误:无法从最终类继承
- terminal - 如何在 Mac 终端中提取 tar 文件
- c# - Homomorphic image filter source code has no effect
- ios - 如何在 iOS 中枚举家庭视频?
- c - sprintf 和 uint64_t 未使用 PRIu64 正确格式化
- react-native - 如何在 react-native 中获取具有不同标题样式和内容的每个标签页?
- postgresql - Postgresql 跨版本转储比较
- image - Webpack dev-server 不显示内联图像
- c++ - 使用 C++11 标准的哪些规则来确定 ({ ... }) 中表达式的类型
- android - 如何从 Android 活动导航到特定的颤振路线?