Java OpenResty Spring Spring Boot MySQL Redis MongoDB PostgreSQL Linux Android Nginx 面试 小程序 Arthas JVM AQS juc Kubernetes Docker 诊断工具


Android 根据包名启动 Activity

Android 大约 157 字

方法

Intent launchIntent = getPackageManager().getLaunchIntentForPackage(appInfo.getPkgName());
if (launchIntent != null) {
    startActivity(launchIntent);
}
阅读 3128 · 发布于 2019-04-14

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb

扫描下方二维码关注公众号和小程序↓↓↓

扫描二维码关注我
昵称:
随便看看 换一批