android-fingerprint-api

BiometricPrompt: Why should we check KeyguardManager.isDeviceSecure() before enabling setDeviceCredentialAllowed?

社会主义新天地 提交于 2020-01-24 12:54:08
问题 The documentation of BiometricPrompt.PromptInfo 's setDeviceCredentialAllowed method states: [...] Developers should first check KeyguardManager.isDeviceSecure() before enabling this. If the device is not secure, BiometricPrompt.ERROR_NO_DEVICE_CREDENTIAL will be returned in BiometricPrompt.AuthenticationCallback.onAuthenticationError(int, CharSequence). https://developer.android.com/reference/androidx/biometric/BiometricPrompt.PromptInfo.Builder.html#setDeviceCredentialAllowed(boolean)

Biometric prompt not displayed on Android 6

限于喜欢 提交于 2020-01-23 10:32:28
问题 I am trying to use BiometricPrompt to use fingerprint sensor for authentication. My minimum supported sdk is 23 (Android M). It works on all android version I tested except for marshmallow. In marshmallow when I try to use authenticate method on button click it calls onAuthenticationError method from BiometricPrompt.AuthenticationCallback and it gives error code ERROR_HW_NOT_PRESENT and error messsage: This device does not have a fingerprint sensor even when device have fingerprint sensor and

Biometric prompt not displayed on Android 6

醉酒当歌 提交于 2020-01-23 10:32:28
问题 I am trying to use BiometricPrompt to use fingerprint sensor for authentication. My minimum supported sdk is 23 (Android M). It works on all android version I tested except for marshmallow. In marshmallow when I try to use authenticate method on button click it calls onAuthenticationError method from BiometricPrompt.AuthenticationCallback and it gives error code ERROR_HW_NOT_PRESENT and error messsage: This device does not have a fingerprint sensor even when device have fingerprint sensor and

how to store fingerprint data along with username, image, email etc in database in android app

血红的双手。 提交于 2020-01-21 09:01:12
问题 how to store fingerprint data along with username, image, email etc in database in android app. I read out many links but it is not helpful. they are How to get Fingerprint input from user and save to sqlite in android Retrieving Fingerprint data? Get fingerprint templates from fingerprint scanner Register user fingerprint in an android application Thanks 回答1: As per Nexus FAQs Your fingerprint data is stored securely and never leaves your Pixel or Nexus phone. Your fingerprint data isn't

how to store fingerprint data along with username, image, email etc in database in android app

风格不统一 提交于 2020-01-21 09:01:09
问题 how to store fingerprint data along with username, image, email etc in database in android app. I read out many links but it is not helpful. they are How to get Fingerprint input from user and save to sqlite in android Retrieving Fingerprint data? Get fingerprint templates from fingerprint scanner Register user fingerprint in an android application Thanks 回答1: As per Nexus FAQs Your fingerprint data is stored securely and never leaves your Pixel or Nexus phone. Your fingerprint data isn't

Fingerprint authetication of multiple users

最后都变了- 提交于 2020-01-04 06:31:46
问题 I am a beginner in android development.I want to create an application having Finger authentication.I want to register multiple users(50) finger prints using finger sensor of phone.Also i want to authenticate it when user logins.Can anyone help us? 回答1: FingeprintManager only has these 3 features: authenticate : for authenticating user hasEnrolledFingerprints : Determine if there is at least one fingerprint enrolled. isHardwareDetected : Determine if fingerprint hardware is present and

Fingerprint authetication of multiple users

房东的猫 提交于 2020-01-04 06:31:17
问题 I am a beginner in android development.I want to create an application having Finger authentication.I want to register multiple users(50) finger prints using finger sensor of phone.Also i want to authenticate it when user logins.Can anyone help us? 回答1: FingeprintManager only has these 3 features: authenticate : for authenticating user hasEnrolledFingerprints : Determine if there is at least one fingerprint enrolled. isHardwareDetected : Determine if fingerprint hardware is present and

Android Fingerprints: hasEnrolledFingerprints triggers exception on some Samsungs

橙三吉。 提交于 2020-01-01 04:08:07
问题 I'm seeing a lot of exceptions in our production app when enabling fingerprints coming from Android 6 users, which I cannot reproduce on any of my local Samsung devices. The stacktrace is: Message: SecurityException: Permission Denial: getCurrentUser() from pid=24365, uid=10229 requires android.permission.INTERACT_ACROSS_USERS android.os.Parcel.readException in Parcel.java::1620 android.os.Parcel.readException in Parcel.java::1573 android.hardware.fingerprint.IFingerprintService$Stub$Proxy

Marshmallow Fingerprint Scanner Hardware Presence

落花浮王杯 提交于 2019-12-30 06:51:12
问题 I am looking to get started with the Marshmallow Fingerprint Authentication API. I understand that to ask for permission, I must use the following method: ContextCompat.checkSelfPermission(getContext(), Manifest.permission.USE_FINGERPRINT); And I must check if the device is running API level 23 or higher. But before I ask for permission, I would like to check if the device actually has a fingerprint scanner to begin with. I found the following two methods to do this check: FingerprintManager

How to detect the removal fingerprint in Android?

拟墨画扇 提交于 2019-12-24 19:57:42
问题 I am currently doing research on Android fingerprint API. As I have cloned the fingerprint sample, 'FingerprintDialog' https://github.com/googlesamples/android-FingerprintDialog There is a mechanism for checking if new fingerprint is added to the device and ask for password instead of fingerprint once after the addition of new fingerprint. However, I cannot find any material online about detecting the removal of fingerprint in the App. As the result, I would like to know if there is any