Android eclipse lockscreen question

view full story

http://forum.xda-developers.com – Hi guys I'm developing an application in android. I want to use the lockscreen Interface, How do I know or how do I get if the user reached the maximum attempts of password, I want my application auto enable if the lockscreen locked. Please help. I don't know if I'm on the right track to ask question about my needs in programming in android apps. (HowTos)