Can I start the system PIN identification from the app?

Is it possible to create an authentication from my app that will verify the user with his device lock PIN? Any intent mechanism or something like this that will prompt the user to enter their PIN?

I have seen DevicePolicyManager

, but I have not been able to come up with. Anything convincing?

+3


source to share


1 answer


Since Android 5.0 you can use KeyguardManager.createConfirmDeviceCredentialIntent ()

This method will create an Intent that can be used to trigger system authentication (pin / pattern / password).



For more information see doc and Confirm sample credentials .

+1


source







All Articles