android 打开第三方apk
包名varvarintent1.componentvar。
·
/包名
var intent: Intent? =packageManager.getLaunchIntentForPackage(pgk)
startActivity(intent)
var intent1 = Intent(pgk)
intent1.component = ComponentName(pgk, className);
startActivity(intent1);
var intent2 = Intent()
intent2.setClassName(pgk,className)
startActivity(intent2);
更多推荐
已为社区贡献3条内容
所有评论(0)