您可以通过ADB与Android KeyEvents多触摸以滚动屏幕截图

发布于 2025-01-26 01:25:10 字数 344 浏览 1 评论 0原文

我想尝试通过ADB KeyEvents在Android上启动滚动屏幕截图。在物理设备上,这需要三个手指长压,然后将三个手指刷到屏幕的底部。我可以通过以下命令来为一根手指实现这一点:

长按刷

adb shell input swipe 100 500 100 500 500

滑动

adb shell input swipe 100 500 100 1500 200

是否可以为三个触摸实现同样的方法吗?

我尝试使用& amp;运行多个命令,但他的似乎是顺序的,所以不起作用。

任何建议将不胜感激。

I would like to try and initiate a scrolling screenshot on Android via adb keyevents. On the physical device this requires a three finger long press followed by the three fingers being swiped to the bottom of the screen. I can achieve this for one finger by the following commands:

Long press

adb shell input swipe 100 500 100 500 500

Swipe

adb shell input swipe 100 500 100 1500 200

Is there a way to achieve the same for three touches?

I have tried using && to run multiple commands but his appears to be sequential so doesnt work.

Any advice would be greatly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文