开发者

Pattern Locking in android

开发者 https://www.devze.com 2023-02-12 07:06 出处:网络
i want to implement pattern locking in my app, so that user开发者_StackOverflow社区 has to draw a pattern before using the application.

i want to implement pattern locking in my app, so that user开发者_StackOverflow社区 has to draw a pattern before using the application.

Can anyone suggest me how to do that?


Refer to this link. I tested it and it is a very good example.


I've been thinking of building this myself and i have some idea's.
One thing you could do is just extend the View class and draw the everything in the onDraw() method and handle input in the onTouchEvent() method.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号