service - how to know User have entered wrong password or pattern? (android lock) -


this question has answer here:

i want service if user enters wrong pattern , number of that.
googled it, got nothing useful. it's impossible, because it's android system , inaccessible, , there saying it's possible , they're talking "password_failed attempts" or something.
and think it's possible, because there app when enter wrong pattern, takes picture front camera.
any appreciated.

a device administrator can use <watch-login /> policy see this. receives action_password_succeeded or action_password_failed each time, , can use devicepolicymanager#getcurrentfailedpasswordattempts query it.

see device administration.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -