启动应用程序知道包名应用程序

2023-09-12 03:14:10 作者:给糖就不闹

有人能告诉我如何开始新的应用程序仅仅知道它的包叫什么名字?我没有什么活动是主要的一个信息。

Can someone tell me how to start new application knowing only its package name? I do not have information about what activity is the main one.

推荐答案

尝试使用 PackageManager 和getLaunchIntentForPackage()

 
精彩推荐