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

Categories

0 votes
981 views
in Technique[技术] by (71.8m points)

security - How to save and compare 2 fingerprints on Android

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

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

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...