iApp打开微信扫一扫
2018-10-30 本文已影响589人
潇洒的夏夏
1.调用插件打开微信扫一扫
loadjar("wx.apk",gets)
cls(gets,"com.wx.scan.wx",cla)
javax(scan,null,cla,"QQ1075625244","Context",activity)
//插件开发者:潇洒的夏夏
//QQ:1075625244
//简书:潇洒的夏夏
//插件可以在iApp软件里面下载,或者联系我!
2.利用iApp的sit打开微信扫一扫
sit(a,"action", "android.intent.action.VIEW")
sit(a, "classname", "com.tencent.mm", "com.tencent.mm.ui.LauncherUI")
sit(a,"extra","LauncherUI.From.Scaner.Shortcut", true)
sit(a, "flags", "335544320")
uit(a, "chooser", "微信扫一扫")
//以上为潇洒的夏夏原创,转载请注明!