How leondevlifelog/gesturelockview works
GestureLockView is an Android gesture-pattern input library, accompanied by a small sample app. The main workflow is touch input on the configurable grid, pattern collection and minimum-length/password checks, then success or error callbacks; the sample validates a hard-coded pattern and opens a second screen on success. The excerpts show those callback and sample-screen links, but not all drawing and touch-handling details. The README documents configurable appearance, grid size, security mode, vibration, and listener behavior.
Main entry points: GestureLockView.java Gesture input · MainActivity.java Sample screen · SecondActivity.java Result screen
Components 5
Gesture library
- Gesture input
gesturelockview/src/main/java/com/github/leondevlifelog/gesturelockview/GestureLockView.java
Sample app
- Sample screen
app/src/main/java/com/github/leondevlifelog/gesturelockviewsample/MainActivity.java - Result screen
app/src/main/java/com/github/leondevlifelog/gesturelockviewsample/SecondActivity.java
Other components
- User
- Android vibrator
Connections 5
- User → Gesture input: draws pattern
README.md - Gesture input → Sample screen: calls listener
gesturelockview/src/main/java/com/github/leondevlifelog/gesturelockview/GestureLockView.java - Sample screen → Gesture input: configures listener
app/src/main/java/com/github/leondevlifelog/gesturelockviewsample/MainActivity.java - Sample screen → Result screen: opens on success
app/src/main/java/com/github/leondevlifelog/gesturelockviewsample/MainActivity.java - Gesture input → Android vibrator: vibrates
gesturelockview/src/main/java/com/github/leondevlifelog/gesturelockview/GestureLockView.java