zoukankan      html  css  js  c++  java
  • 远程控制.scrcpy&其他资料&我的游戏辅助方案

    1、一些方案:scrcpy、向日葵

    2、我的需求是 获取手机的屏幕 然后PC能控制手机操作,自己做一下粗浅比较:

     2.1、scrcpy、向日葵 等软件

      2.1.1、scrcpy

       (1)优点:速度快延迟低

       (2)缺点:Android端需要安装服务软件。

       (3)待验证:不知道游戏会不会检测这个东西,然后 也不立即说 过段时间说你使用辅助软件

     2.2、adb 截屏命令:

      (1)优点:无需安装另外的程序,PC端有 adb.exe相关程序即可

      (2)缺点:速度很慢

      (3)待验证:游戏会不会检测 adb的模拟操作...

    3、scrcpy 的资料:

     3.1、我的想法:

      (1)scrcpy的原理:在Android端创建服务程序,不断截图传回PC,PC的模拟操作也可以传到Android。

       PC和Android通讯:scrcpy 里面 貌似支持 数据线通信 和 局域网通讯。ZC:都已经做了Android监控程序了,怎么传就是小事情了... 

      (2)暂时的方案:现在我来弄Android服务端程序的话,可能耗时比较长。于是想到两个方案:

       (A) 我现在的游戏不是即时游戏,自动操作不需要强实时性,延迟个几秒也是可以的

       (B) 可以在Android安装 scrcpy/向日葵等,然后PC端写代码操作 scrcpy/向日葵 的窗口即可...

     3.2、Android 的 shell screencap -p 太慢了,有没有更高效的方法呢? - V2EX.html(https://www.v2ex.com/t/667061

      GitHub - Genymobile_scrcpy_ Display and control your Android device.html(https://github.com/Genymobile/scrcpy

      scrcpy_BUILD.md at master · Genymobile_scrcpy · GitHub.html(https://github.com/Genymobile/scrcpy/blob/master/BUILD.md

     3.1、

      Android PC投屏简单尝试—最终章1 - 简书.html(https://www.jianshu.com/p/06f4b8919991

       ZC:这里貌似是直接仿 scrcpy,原理解释的算比较清楚

      adb forward的细节(1):原理概述_Abracadabra的专栏-CSDN博客.html(https://blog.csdn.net/u013553529/article/details/80036227

      adb命令 - adb forward交互流程 - 简书.html(https://www.jianshu.com/p/e2280ddcaf3f

    4、

    5、

  • 相关阅读:
    面试题
    学习Javascript闭包(Closure)
    git命令
    css3 3d翻转效果
    meta 如何写
    Java String equals和==的比较
    MySQL Explain详解
    MySQL explain,type分析(转)
    python的内存分析和处理
    python lambda的使用
  • 原文地址:https://www.cnblogs.com/codeskilla/p/13935515.html
Copyright © 2011-2022 走看看