android-fingerprint-api

Integrate apple TouchId or Samsung Finger print reader with my app

心已入冬 提交于 2019-12-12 09:02:08
问题 I am currently working on a mobile application for (Android, ios), which has the following requirement. Please tell me whether I can use the inbuilt finger print reader on latest smart phone, tablet to achieve my requirement. I have a HRM System running on cloud, where I have the employee details, Now i am developing an mobile app for employee time attendance, basically application will work in this following steps. When employee open the app, it will show a finger print login. Employee will

How can i match Fingerprint from sqlite data base?

你说的曾经没有我的故事 提交于 2019-12-12 05:39:55
问题 I want to create one application which can match fingerprint form my server existing fingerprints, on my server side some fingerprints saved with the help of external fingerprint scanner. can i match with saved fingerprint? 回答1: Match in database You cannot match fingerprint in database, please read this : https://en.wikipedia.org/wiki/Fingerprint_recognition You have to match templates, thanks to a specific algorithm. To match on server, you need AFIS solution: https://en.wikipedia.org/wiki

Jetpack's BiometricPrompt (androidx.biometric.BiometricPrompt) throws NullPointerException

China☆狼群 提交于 2019-12-11 17:24:22
问题 I'm using androidx.biometric:biometric:1.0.0-alpha03 in a test project and when pushing the negative button I always get the following error message: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.CharSequence androidx.biometric.BiometricFragment.getNegativeButtonText()' on a null object reference at androidx.biometric.BiometricPrompt$1$1.run(BiometricPrompt.java:329) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util

Is there anyway to identify which fingerprint used for unlocking/ accessing?

走远了吗. 提交于 2019-12-11 06:17:29
问题 Suppose i've enrolled 5 fingerprints in my phone. I need to check which of the 5 fingerprint is used for login to my application. Or any way to check the fingerprint if it's not the primary fingerprint. 回答1: Currently this behaviour is not available in fingerprint API as for the API it's just authentication data and receive authenticated result from Android device.. 来源: https://stackoverflow.com/questions/57657816/is-there-anyway-to-identify-which-fingerprint-used-for-unlocking-accessing

Do I need CryptoObject object, or null for the following use case during FingerprintManager.authenticate

瘦欲@ 提交于 2019-12-11 06:03:54
问题 When we call mFingerprintManager .authenticate(cryptoObject, 0 /* flags */, mCancellationSignal, this, null); I notice that it is completely fine to pass null for cryptoObject . According to FingerprintManager documentation FingerprintManager.CryptoObject: object associated with the call or null if none required. According to https://github.com/googlesamples/android-FingerprintDialog, it shows a lengthy step to create CryptoObject . So, I'm not sure, whether I should use a CryptoObject , or

How to use Biometric Prompt API in versions lower than Android 9.0

天大地大妈咪最大 提交于 2019-12-10 20:52:28
问题 I am trying to implement Biometric prompt API to authenticate user using fingerprint verification. I am successfully able to integrate Biometric prompt and it is working on andorid 9.0. But as the documentation suggests Biometric api is also backwards compatible, but when I build dialog using below code it shows API support warning. Call requires API level 28 (current min is 15): new android.hardware.biometrics.BiometricPrompt.Builder less... (Ctrl+F1) This check scans through all the Android

FingerprintManager.isHardwareDetected() throwing java.lang.SecurityException?

冷暖自知 提交于 2019-12-10 16:19:59
问题 I have an App that offers the usage of fingerprints for authentication. Before asking if the user wants to enable it, I verify if it is available at all and it is done via: FingerprintManager fingerprintManager = context.getSystemService(FingerprintManager.class); return fingerprintManager.isHardwareDetected() && fingerprintManager.hasEnrolledFingerprints(); Both FingerprintManager 's methods are annotated with: @RequiresPermission(USE_FINGERPRINT) But, the USE_FINGERPRINT permission is a

Android - how to get Unique key from Finger-Print Authentication?

a 夏天 提交于 2019-12-10 13:13:41
问题 I'm want to encrypt and decrypt files from SD-card using AES. In order to do it we always need a seed (usually a string which is inserted by user as a password): public static byte[] generateKey(String password) throws Exception{ byte[] keyStart = password.getBytes("UTF-8"); KeyGenerator kgen = KeyGenerator.getInstance("AES"); SecureRandom sr = SecureRandom.getInstance("SHA1PRNG", "Crypto"); sr.setSeed(keyStart); kgen.init(128, sr); SecretKey skey = kgen.generateKey(); return skey.getEncoded(

get android release Certificate Fingerprints

折月煮酒 提交于 2019-12-09 00:01:42
问题 I am using Android Studio on Mac El Capitan. How do I get the release Certificate Fingerprints? I need it for Firebase. I am not sure exactly how to get it. 回答1: Just to test it ( with the debug fingerprint ), run the following command in any directory with the terminal. $ keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore -list -v Then copy the SHA1 value and paste it into your Firebase console. Be careful, the above will work for the debug environment, if you

Fingerprint reader espresso test

元气小坏坏 提交于 2019-12-08 05:30:17
问题 I am trying to make espresso test for fingerprint reading. It is possible for emulator test with such Runtime.getRuntime().exec("adb -e emu finger touch 1"); However this same code is not working on real devices. What is the way to do fingerprint reader on espresso test for real devices? 回答1: I'm sorry but, as far as I know, this is not possible with real devices. 来源: https://stackoverflow.com/questions/46329515/fingerprint-reader-espresso-test