Comments (6)
通过打开开发者选项的指针位置然后解锁可以发现解锁成功需要在上滑的结束位置使滑动曲线变为红色,由于小米屏幕没有压感,所以猜测是需要变速滑动才能解锁成功。
但是通过auto.js模拟的上滑是匀速滑动,所以会失败。
通过查找发现 http://dq.tieba.com/p/5851853570 中的方法可行,他通过下拉通知栏,然后点击时间实现实现与上滑相同的功能。
//曲线解锁 miui锁屏滑动不能唤出密码输入 通过下拉通知栏点击时间进入密码解锁
device.wakeUp();
//下拉状态栏
swipe(500, 30, 500, 1000, 300);
sleep(400);
//点击时间
click(100, 120);
from autojs.
换个主题试试,我也是用官方的主题怎么滑都解锁不了,后来试了几个主题就好了
from autojs.
原生系统。当锁屏界面有多于2个通知时,脚本自动向上滑动不能拉起图案解锁面板,提示解锁失败。看不懂代码,不知道怎么解决?求助……
from autojs.
@chunqiulfq 实测可行!感谢!
from autojs.
@e1399579 你好,你用的什么主题,我找了好多主题一直不行。。。
Sent from my Xiaomi MI 9 using FastHub
from autojs.
from autojs.
Related Issues (20)
- 使用中的一些问题,请作者解答,谢谢!
- 在进行好友排行榜后无法正常获取 HOT 1
- 华为手机锁屏不生效,oneTasker的延时任务,tasker锁屏状态不能按时启动执行,请问怎么解决?
- No such file or directory
- No such file or directory
- No such file or directory
- No such file or directory
- 怎么识别 好友能量用了防护罩?
- 无法进入蚂蚁森林
- 进入蚂蚁森林失败 HOT 2
- 进入蚂蚁森林失败,群加不进去 HOT 3
- 请问下你是如何得到蚂蚁森林和蚂蚁庄园的appid? HOT 2
- 小米六,进入森林后就不动了,应该是可以收自己的能量,然后就,,就,,么得了 HOT 1
- 安卓8的系统,没有root,可以用微信运动点赞吗? HOT 1
- var desc = o.contentDescription失效
- failed to connect to www.infiniture.cn
- 请问auto.js从哪里下载 HOT 4
- 弃坑了吗
- autojs
- 疑问、请问这找不到怎么回事。 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autojs.