Skip to content Skip to sidebar Skip to footer

Patterns Unlock Attempts By A Broadcastreceiver In Android

I am developing an Android application that captures the image of the user trying to unlock the screen with patterns and sent to a valid email. The question is, how I can know how

Solution 1:

The question is how I can know how many failed attempts are logged to a BroadcastReceiver?.

You are welcome to use the Device Administration APIs to find out about failed password attempts. In particular, your properly-configured DeviceAdminReceiver can be called with onPasswordFailed() on password failures. Note that I have not tried this with a simple pattern lock, so it's possible that this will only work with more serious device security (PIN, password).

Post a Comment for "Patterns Unlock Attempts By A Broadcastreceiver In Android"