Android FingerPrint API isHardwareDetected returns

2019-01-29 05:07发布

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.

2条回答
smile是对你的礼貌
2楼-- · 2019-01-29 05:43

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.

查看更多
手持菜刀,她持情操
3楼-- · 2019-01-29 05:49

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.

查看更多
登录 后发表回答