Android安全模式模式、安全、Android

2023-09-04 23:20:12 作者:說客

我想创建一个自定义锁屏(更多precisely一个模式,就像一个在设置激活 - >安全 - >屏幕锁,然后选择模式)。我一直在寻找了一段时间,发现一无所知,不知道如果连这是可能的。

I want to create a custom screen lock (more precisely a Pattern, like the one that's activated in Settings -> Security -> Screen lock and then selecting Pattern). I have been searching a while and found nothing about it and don't know if even it is possible.

这可能吗?

推荐答案

是它可以创建一个锁屏。来源$ C ​​$ C为Android的模式锁: LockPatternUtils.java 。最近的讨论,谈论一些LockPatternUtils.java的问题:如何盐值对用户的PIN /密码哈希生成的?。有使用第三方锁屏,以纾缓长密码要求使用EFS时(见的全部设备加密和过度的键入口令)。

Yes its possible to create a lock screen. Source code for Android's pattern lock: LockPatternUtils.java. Recent discussion talking about some of the problems of LockPatternUtils.java: How Salt value for hashing of user's PIN/password generated?. There was a discussion of using third party lock screens to relieve the long password requirement when using EFS (see Full device encryption and excessive password typing).

Android安全讨论,将要求的格式的好地方,不会让你失望投票。堆栈溢出是不是书的建议,实施建议等开放性问题的好地方,因为没有正确答案(你不能给出正确的答案分)。

Android Security Discussions would be a good place to ask in a format that does not get you down voted. Stack Overflow is not a good place for "book recommendations," "implementation recommendations" and other open ended questions since there is no right answer (and you can't give points for the correct answer).

杰夫