安卓应用程序跳转至微信
最编程
2024-04-29 08:37:48
...
fun goWeChatScan(context: Context) {
Intent(Intent.ACTION_MAIN).apply {
putExtra("LauncherUI.From.Scaner.Shortcut", true)
addCategory(Intent.CATEGORY_LAUNCHER)
addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
component = ComponentName("com.tencent.mm", "com.tencent.mm.ui.LauncherUI")
context.startActivity(this)
}
}
上一篇: 淘宝AI "扫 "完垃圾还能回家回收