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.
Is it possible?.
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 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).
Jeff