Need working solution to use Android Pattern Lock Screen in custom Application (and not source code redirects)

android, java

Solution

After struggling with those custom buttons, spending time digging out the LockPattern Source from the AOSP, I stumbled upon this awesome library which solved my problem. Hope it helps you out as well.

Android Lock Pattern Library

Problem

I'd like to use the Android Lock Screen Pattern in my custom application while opening the app. I've searched a lot, but everyone asks to use the LockScreenUtils.java class from the source code. I'm having a tough time doing this. One post on stackoverflow asks to make custom 3x3 matrix with a button on each cell and listen for the selection pattern, but then that doesn't look artistically good :) Any thoughts or suggestions on how do I implement this? Thanks!!!

Original source