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 with another device if possible.




回答2:


The issue is with the implementation of the Fingerprint scanner in some old Samsung phones such as the S5 and the Note 4.

Check this link Android M FingerprintManager.isHardwareDetected() returns false on a Samsung Galaxy S5 to see an example of how you can achieve this using the Samsung pass sdk.

You can also refer to http://img-developer.samsung.com/onlinedocs/sms/pass/index.html for the documentation of the pass sdk.



来源:https://stackoverflow.com/questions/38266406/android-fingerprint-api-ishardwaredetected-returns-false-for-samsung-note-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!