MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    获取二维码位置&登陆状态

    开发交流
    2
    3
    474
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      NoNameGMM last edited by

      我想用mirai-core编写
      使用扫描登陆时,该怎么获取到生成的二维码的位置
      并获取登陆状态(等待扫描,等待登陆之类的

      1 Reply Last reply Reply Quote 0
      • MrXiaoM
        MrXiaoM 童心未泯 last edited by

        请参考项目
        https://github.com/MrXiaoM/mirai-console-dev-qrlogin
        不需要依赖,直接复制部分代码即可。
        有将二维码输出到控制台,也有用 swing 窗口显示二维码的方案,改改就能实现你的需求了。

        N 1 Reply Last reply Reply Quote 0
        • N
          NoNameGMM @MrXiaoM last edited by

          @MrXiaoM 感谢!

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact