autojs icon indicating copy to clipboard operation
autojs copied to clipboard

关于图案解锁的问题

Open xu-liyan opened this issue 7 years ago • 3 comments

图案解锁存在一定问题,坐标点计算是对的,但模拟滑动的轨迹不准确,简单一点的图案可以解锁,复杂一点的图案就解锁失败了。 比如说742369就可以解锁 742369 但123456789和369852147就不能解锁 123456789 369852147

xu-liyan avatar Sep 10 '18 14:09 xu-liyan

把gestureParam数组打入日志里 看看坐标数组里的数据对不对

SuperMonster003 avatar Nov 14 '18 02:11 SuperMonster003

把gestureParam数组打入日志里 看看坐标数组里的数据对不对

坐标数组里的数据是对的,滑动的轨迹有点问题。

xu-liyan avatar Dec 01 '18 11:12 xu-liyan

应该是gesture默认滑动时间太短了 给gesture增大滑动时间 比如到1500 可以自己尝试一下 gesture(1500, [240, 800], [240, 900], [340, 900], [340, 800]); gesture(500, [240, 800], [240, 900], [340, 900], [340, 800]); 这俩的区别

On December 1, 2018 19:38:01 xu-liyan [email protected] wrote:

把gestureParam数组打入日志里 看看坐标数组里的数据对不对 坐标数组里的数据是对的,滑动的轨迹有点问题。 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

SuperMonster003 avatar Dec 01 '18 14:12 SuperMonster003