美文网首页
iApp打开微信扫一扫

iApp打开微信扫一扫

作者: 潇洒的夏夏 | 来源:发表于2018-10-30 00:41 被阅读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", "微信扫一扫")
    
    //以上为潇洒的夏夏原创,转载请注明!
    

    相关文章

      网友评论

          本文标题:iApp打开微信扫一扫

          本文链接:https://www.haomeiwen.com/subject/hhlwtqtx.html