选择一个特定的指纹用于身份验证。

huangapple go评论80阅读模式
英文:

Choose a specific fingerprint to be used for authentication

问题

我有一个与指纹交互的安卓项目。用户希望该应用只能通过特定的指纹来打开。

例如,设备上有2个指纹,指纹-1指纹-2。因此,在打开应用时,用户只能使用 指纹-2 来解锁它。如何实现这一点?我还没有找到解决方案。

英文:

I have an Android project that interacts with fingerprints. The user wishes that the application can only be opened with certain fingerprints.

For example, say that on the device there are 2 fingerprints, fingerprint-1 and fingerprint-2. So when opening the application, the user can only use fingerprint-2 to unlock it. How can this be done? I have not found a solution for this.

答案1

得分: 4

这在Android上使用内置的指纹扫描器是不可能的。按设计,没有API可以区分具体的指纹,因为它们都被视为属于同一用户。

如果您想要实现这一点,您需要一个额外的外部指纹扫描器连接到设备,以允许您区分不同的指纹。

英文:

This is not possible on Android with the built-in fingerprint scanner. By design, there is no API to differentiate between the specific fingerprints, as they are all considered to belong to the same user.

If you wanted to do this, you'd need an extra peripheral fingerprint scanner to connect to the device that allows you to differentiate between fingerprints.

huangapple
  • 本文由 发表于 2020年5月4日 09:22:42
  • 转载请务必保留本文链接:https://go.coder-hub.com/61583802.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定