Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I would like to integrate fingerprint in the authentication process for my project and then save and compare this fingerprint.

I have tried integrate several pieces of code, but so far none have worked. How can I save and compare fingerprints in an Android app?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
908 views
Welcome To Ask or Share your Answers For Others

1 Answer

This is not possible using the device's fingerprint sensor. By design, to prevent apps from obtaining the user's fingerprint data, there is no API that allows an app to access fingerprint data. There is also no API that allows different fingerprints to be distinguished, as they are all considered to be from the device user that is running the app.

If you need to save and compare fingerprints in an Android app, your only option would be to separately obtain an external fingerprint sensor that connects to the Android device, and use its SDK to read and store fingerprint data.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...