androidsamsung-mobilefingerprintandroid-fingerprint-apisamsung-galaxy

android fingerprint sensor API


for a project at work, I'm trying to get the status (working or defective) of a fingerprint sensor on android devices to see if it works properly.

I'm using the "isHardwareDetected" function in this android 6.0 API (APK 23).

Does anyone knows how the operating system gets this information about the fingerprint sensor propriety without involving the user?

i have a cell phone (Note 4) with working fingerprint sensor that gets false from isHardwareDetected and i cant explain why.

thanks, Maor.


Solution

  • After a bit of investigating it seams that Samsung did not implement the Android Fingerprint API support for some of their devices, thus the FingerprintManager Class wont respond as intended. I suggest using the Samsung PASS SDK which can be found here : http://developer.samsung.com/galaxy/pass.

    Related Links : Android M FingerprintManager.isHardwareDetected() returns false on a Samsung Galaxy S5

    FingerPrint API isHardwareDetected always returns false