String packName=""
String className=""
ComponentName componentName=new ComponentName(packName,className);
Intent intent=new Intent();
intent.setComponent(componentName);
startActivity(intent);
Android 通过包名和Class启动App
最新推荐文章于 2024-06-05 11:22:26 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)