文件名称:jiugonggetuansuodeshixian
介绍说明--下载内容均来自于网络,请自行研究使用
注意:本项目使用android studio开发,eclipse可能无法直接导入。
很多品牌的Android手机都实现了图案解锁屏幕的功能,有些应用程序出于保护的目的也使用了图案锁(比如支付宝),本文将介绍一种图案锁的实现方式,这种实现的一个优势在于方便扩展和自定义,我们先看一下效果图。
首先是连线阶段,整个连线为两部分:第一部分是点和点之间的固定线段,第二部分是最后一个点到鼠标移动位置的自由线段。
接下来是连线结束之后,需要判断图案是否正确,我这里暂时写死的Z字形为正确图案,实际应用时需要记录用户的输入为设置的图案密码。-Note: this project uses studio Android development, eclipse may not be able to directly import.
Many brands of mobile phone Android has realized pattern unlock screen function, some applications also use the pattern lock for the purpose of protection (such as Alipay), this paper will introduce the way to lock a pattern, an advantage of this implementation is to facilitate the expansion and self definition, we look at the effect of map.
The first is the connection stage, the whole connection is two parts: the first part is the fixed line between point and point, the second part is the last point to the mouse moving position of the free segment.
Followed by the end of the connection, you need to determine the pattern is correct, I am here to write a dead Z figure for the correct pattern, the actual application needs to record the user s input to set the pattern password.
很多品牌的Android手机都实现了图案解锁屏幕的功能,有些应用程序出于保护的目的也使用了图案锁(比如支付宝),本文将介绍一种图案锁的实现方式,这种实现的一个优势在于方便扩展和自定义,我们先看一下效果图。
首先是连线阶段,整个连线为两部分:第一部分是点和点之间的固定线段,第二部分是最后一个点到鼠标移动位置的自由线段。
接下来是连线结束之后,需要判断图案是否正确,我这里暂时写死的Z字形为正确图案,实际应用时需要记录用户的输入为设置的图案密码。-Note: this project uses studio Android development, eclipse may not be able to directly import.
Many brands of mobile phone Android has realized pattern unlock screen function, some applications also use the pattern lock for the purpose of protection (such as Alipay), this paper will introduce the way to lock a pattern, an advantage of this implementation is to facilitate the expansion and self definition, we look at the effect of map.
The first is the connection stage, the whole connection is two parts: the first part is the fixed line between point and point, the second part is the last point to the mouse moving position of the free segment.
Followed by the end of the connection, you need to determine the pattern is correct, I am here to write a dead Z figure for the correct pattern, the actual application needs to record the user s input to set the pattern password.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Android项目源码手机九宫格图案锁的实现
.....................................\PatternLock
.....................................\...........\.gitignore
.....................................\...........\.gradle
.....................................\...........\.......\2.4
.....................................\...........\.......\...\taskArtifacts
.....................................\...........\.......\...\.............\cache.properties
.....................................\...........\.......\...\.............\cache.properties.lock
.....................................\...........\.......\...\.............\fileHashes.bin
.....................................\...........\.......\...\.............\fileSnapshots.bin
.....................................\...........\.......\...\.............\outputFileStates.bin
.....................................\...........\.......\...\.............\taskArtifacts.bin
.....................................\...........\.idea
.....................................\...........\.....\.name
.....................................\...........\.....\compiler.xml
.....................................\...........\.....\copyright
.....................................\...........\.....\.........\profiles_settings.xml
.....................................\...........\.....\gradle.xml
.....................................\...........\.....\libraries
.....................................\...........\.....\.........\appcompat_v7_23_1_1.xml
.....................................\...........\.....\.........\support_annotations_23_1_1.xml
.....................................\...........\.....\.........\support_v4_23_1_1.xml
.....................................\...........\.....\misc.xml
.....................................\...........\.....\modules.xml
.....................................\...........\.....\runConfigurations.xml
.....................................\...........\.....\vcs.xml
.....................................\...........\.....\workspace.xml
.....................................\...........\app
.....................................\...........\...\.gitignore
.....................................\...........\...\app.iml
.....................................\...........\...\build
.....................................\...........\...\build.gradle
.....................................\...........\...\libs
.....................................\...........\...\proguard-rules.pro
.....................................\...........\...\src
.....................................\...........\...\...\androidTest
.....................................\...........\...\...\...........\java
.....................................\...........\...\...\...........\....\com
.....................................\...........\...\...\...........\....\...\liusiqian
.....................................\...........\...\...\...........\....\...\.........\patternlock
.....................................\...........\...\...\...........\....\...\.........\...........\ApplicationTest.java
.....................................\...........\...\...\main
.....................................\...........\...\...\....\AndroidManifest.xml
.....................................\...........\...\...\....\java
.....................................\...........\...\...\....\....\com
.....................................\...........\...\...\....\....\...\liusiqian
.....................................\...........\...\...\....\....\...\.........\patternlock
.....................................\...........\...\...\....\....\...\.........\...........\MainActivity.java
.....................................\...........\...\...\....\....\...\.........\...........\PatternLockLayout.java
.....................................\...........\...\...\....\....\...\.........\...........\PatternPoint.java
.....................................\...........\...\...\....\....\...\.........\...........\PatternPointBase.java
.....................................\...........\...\...\....\res
.....................................\...........\...\...\....\...