On 11/30/2015 11:24 PM, Cinjo Jose wrote:
Hi
Want to use the default device lock password which the user has already
set as a password for my app.
The app should show the same default lock screen and access password to
enable some features.
Is it possible to use device lock screen and access the password in
Custom application ? If yes, How ?
Thanks..........
Cinjo,
Take a look at the android.app.KeyGuardManager API. Specifically
createConfirmDeviceCredentialIntent(). I believe this will do what you want.
Take a look at the Confirm Credential sample to see how this works in
practice:
https://github.com/googlesamples/android-ConfirmCredential
--
Trevor Johns
Google Developer Programs, Android
http://developer.android.com
--
You received this message because you are subscribed to the Google Groups "Android
Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/android-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-developers/n3l8ne%244mp%241%40ger.gmane.org.
For more options, visit https://groups.google.com/d/optout.