简体   繁体   English

如何点击由于小屏幕而不可见的 android 应用程序按钮?

[英]How to tap on a android app button that is not visible because of a small screen?

I completed the most steps of connecting procedure of inapp wizard.我完成了 inapp 向导连接过程的大部分步骤。 Most of the steps were scrollable but at the end of wizard last step was to hit a text button which writes Connect on it, but I cant scroll that page down and couldn't see that button as same as on the phone ui.大多数步骤都是可滚动的,但在向导最后一步是点击一个文本按钮,上面写着“连接”,但我无法向下滚动该页面,也看不到与手机用户界面上相同的按钮。 It's a text base button according to me because when I try to resize the app window same with my watch screen on my phone, the text letters start to separate and form changes to vertical.根据我的说法,这是一个文本基本按钮,因为当我尝试调整应用程序 window 的大小时,与我手机上的手表屏幕相同时,文本字母开始分开,并且形式变为垂直。 But when I completely downsize window to same with watch's size button completely disappears and cant tap on it.但是当我将 window 完全缩小到与手表尺寸相同时,按钮完全消失并且无法点击它。

So is there a command to tap this invisible button by a button id or the text label over interactive shell session?那么是否有命令通过按钮 ID 或文本 label 在交互式 shell session 上点击这个不可见按钮?


I researched some possible actions by reasoning with my tiny knowledge and tried我用我的微不足道的知识推理研究了一些可能的行动并尝试

getevent -l command

Print all touches to screen top and bottom points Converted the xy coordinates hex to decimal Tried input tap command to touch possible imaginary pixels below the screen eg: the bottom of screen is 701px so i think the distance between the top visible text which starts with ''we found the following Melitta..'' and the invisible connect button is about x2 a watch screen so I tried将所有触摸打印到屏幕顶部和底部点将 xy 坐标十六进制转换为十进制尝试输入点击命令以触摸屏幕下方可能的假想像素例如:屏幕底部是 701px 所以我认为以 ' 开头的顶部可见文本之间的距离“我们发现了以下 Melitta ..”并且不可见的连接按钮大约是手表屏幕的 x2,所以我尝试了

input tap 343 1200,1300,1400,1500...

But it did not work because there is not a pixel coordinate on the watch's screen.但它不起作用,因为手表屏幕上没有像素坐标。 So this beings me to second step to found a way to select exact word ''Connect'' button by a command所以这就是我的第二步,通过命令找到了 select 确切单词“连接”按钮的方法

I'm looking for a command like我正在寻找像这样的命令

input tap text<Command>

or something like that.或类似的东西。

Hi to all thanks for answers i solved my issue by a simple way i edited the apk over apk parser pto app on my phone and deleted the unneccessary warning texts on that last page after that compile it back and build a mod apk by this way device connect button come up and i able to tap it and connected to device.大家好,感谢您的回答,我通过一种简单的方法解决了我的问题,我通过手机上的 apk 解析器 pto 应用程序编辑了 apk,并删除了最后一页上不必要的警告文本,然后将其编译回来并通过这种方式设备构建一个 mod apk连接按钮出现,我可以点击它并连接到设备。 enter image description here在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM