如何知道用户输入错误的密码或图案? (机器人锁) [英] how to know User have entered wrong password or pattern? (android lock)

查看:209
本文介绍了如何知道用户输入错误的密码或图案? (机器人锁)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想,如果用户输入错误的花样和这个数字看起来的服务。结果
我用Google搜索,但没有什么是有用的。有人说这是不可能的,因为它是Android系统,交通不便,并有一些说这是可能的,他们正在谈论PASSWORD_FAILED企图什么的。结果,我认为这是完全有可能的,因为有一个应用程序时,你输入了错误的模式,它需要有前置摄像头的画面。
结果任何帮助将AP preciated。

I want a service to look if user enters wrong pattern and number of that.
I Googled it, but got nothing useful. some say it's impossible, because it's for Android system and inaccessible, and there are some saying it's possible and they're talking about "PASSWORD_FAILED attempts" or something.
And I think it's completely possible, because there is an app when you enter a wrong pattern, it takes a picture with front camera.
Any help will be appreciated.

推荐答案

一个设备管理员可以使用<钟表登录/> 政策看到这一点。它接收 ACTION_PASSWORD_SUCCEEDED ACTION_PASSWORD_FAILED 每一次,它可以使用 DevicePolicyManager#getCurrentFailedPasswordAttempts 来查询它。

A device administrator can use the <watch-login /> policy to see this. It receives ACTION_PASSWORD_SUCCEEDED or ACTION_PASSWORD_FAILED each time, and it can use DevicePolicyManager#getCurrentFailedPasswordAttempts to query for it.

请参阅设备管理

这篇关于如何知道用户输入错误的密码或图案? (机器人锁)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆