android-fingerprint-api

Register user fingerprint in an android application

本小妞迷上赌 提交于 2019-11-29 13:43:01
I want to make an android application, which registers user fingerprint (from device's fingerprint scanner) and stores it in a data structure or in key store provider, next time user put his fingerprint scanner, he should be authenticated from the fingerprints stored in the data structure or from the android keystore provider. If anyone can help me how to approach for this. Thanks in advance. Sorry but as far as I know, no way to register fingerprint. User should register his/her finger in settings. You can just check user fingerprint for Authentication. If there is no registered finger or has

FingerPrint API isHardwareDetected always returns false

喜夏-厌秋 提交于 2019-11-29 11:22:38
I am using my Samsung S5 G900F(API 23, ANDROID 6.0.1) to test the latest Android Fingerprint API. I tried to build Google Sample project https://github.com/googlesamples/android-FingerprintDialog But I am facing some problems mFingerprintManager.hasEnrolledFingerprints() This always returns false. I have double checked on Settings that I have enrolled my fingerprint and I am using Fingerprint to unlock my device. I had also tried this function mFingerprintManager.isHardwareDetected() which also returns false. Does this mean my Samsung S5 (which got its offical 6.0.1 update) is not supported or

How to get key from keystore on successful fingerprint auth

你。 提交于 2019-11-29 02:32:59
I'm creating an app where the user has two options to unlock their app, one is using a pin and the other is using a fingerprint. In order to use the fingerprint they must first set up a pin because this pin is the decryption key to get their encrypted details out of SharedPreferences . So i've followed this tutorial here: http://www.techotopia.com/index.php/An_Android_Fingerprint_Authentication_Tutorial#Accessing_the_Android_Keystore_and_KeyGenerator I've managed to get the app to read a fingerprint and say whether it is valid or not. But when the fingerprint is authorised I have no idea how

How to Use Unsupported Exception for Lower Platform Version

末鹿安然 提交于 2019-11-29 01:44:06
I have a DialogFragment that handles login and fingerprint authentication for my application. This fragment uses two classes that are exclusive to API 23, KeyGenParameterSpec and KeyPermanentlyInvalidatedException . I had been under the impression that I could use these classes, as long as I check the build version before I try to initialize the classes (outlined here ): if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { ... } else { ... } But it appears that this is not the case. If I try to run this code on a version prior to API 20, the Dalvik VM rejects the entire class and throws a

Android FingerPrint API isHardwareDetected returns false for Samsung Note 4

允我心安 提交于 2019-11-28 11:03:44
问题 I am trying to implement FingerPrint Scanner in my app. I followed below tutorial: http://www.techotopia.com/index.php/An_Android_Fingerprint_Authentication_Tutorial In Samsung Note 4, FingerPrintManager's isHardwareDetected() is returned as false even though I successfully registered two fingerprints from Settings. Does anyone of you know what might be the reason? Thanks. 回答1: I'm afraid the Note 4 doesn't support the Fingerprint API (just the Samsung Fingerprint). You should try your code

Android Fingerprint API Encryption and Decryption

半城伤御伤魂 提交于 2019-11-27 17:49:46
I am using the Android M Fingerprint API to allow users to login to the application. To do this I would need to store the username and password on the device. Currently I have the login working, as well as the Fingerprint API, but the username and password are both stored as plaintext. I would like to encrypt the password before I store it, and be able to retrieve it after the user authenticates with their fingerprint. I am having a great amount of difficulty getting this to work. I have been trying to apply what I can from the Android Security samples , but each example seems to only handle

How to Use Unsupported Exception for Lower Platform Version

大兔子大兔子 提交于 2019-11-27 16:05:33
问题 I have a DialogFragment that handles login and fingerprint authentication for my application. This fragment uses two classes that are exclusive to API 23, KeyGenParameterSpec and KeyPermanentlyInvalidatedException . I had been under the impression that I could use these classes, as long as I check the build version before I try to initialize the classes (outlined here): if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { ... } else { ... } But it appears that this is not the case. If I try

Android Fingerprint API Encryption and Decryption

蹲街弑〆低调 提交于 2019-11-26 22:36:23
问题 I am using the Android M Fingerprint API to allow users to login to the application. To do this I would need to store the username and password on the device. Currently I have the login working, as well as the Fingerprint API, but the username and password are both stored as plaintext. I would like to encrypt the password before I store it, and be able to retrieve it after the user authenticates with their fingerprint. I am having a great amount of difficulty getting this to work. I have been