指纹多个设备

编程入门 行业动态 更新时间:2024-10-11 09:29:16
本文介绍了指纹多个设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

是否可以在一台Android设备上注册指纹并在另一台Android设备上验证? 我尝试过的方法: 我知道我可以使用外部指纹扫描仪注册,然后使用Android设备验证指纹。但是可以在两个单独的Android设备上注册和验证吗?

Is it possible to register a fingerprint on one android device and verify it on another android device? What I have tried: I know that i can use an external fingerprint scanner to register and then verify the fingerprint using the android device. But is it possible to register and verify on two separate android devices?

推荐答案

使用多个指纹的唯一方法是保存意图数据并在自己的设备中使用它认证。因此,如果用户扫描等于该用户的一个数据,您可以通过活动对其进行验证。 The only way to use multiple fingerprints is to save the intent data and use it in your own authenticate. So you can verify it by the activity if the user scan is equal to one of the datas from that user. protected void onActivityResult(int requestCode, int resultCode, Intent data) { if (resultCode == RESULT_FINISHED) { // do something with the intent data. // and hash or save it somewhere in your extern authentication system. // intent.getData(); => always equal to previous scans finish(); } else { super.onActivityResult(requestCode, resultCode, data); } }

您需要在具有多个扫描ID且具有多个扫描ID的用户ID上创建用户。

You need to create at the and a userid with multiple scan ids which are valid for the user.

Quote:

是否可以在一台Android设备上注册指纹并验证它在另一个Android设备上? ... 但是可以在两个独立的Android设备上注册和验证吗?

Is it possible to register a fingerprint on one android device and verify it on another android device? ... But is it possible to register and verify on two separate android devices?

两个问题都可以,只要他们可以沟通。 如果他们可以通信的话,在Android设备上的任何可能的话都可以。这是您的应用程序的设计问题。

Yes to both questions, as soon as they can communicate. Anything possible on a android device os possible on 2 if they can communicate. It is a matter of design of your app.

更多推荐

指纹多个设备

本文发布于:2023-10-27 04:18:58,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1532288.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:多个   指纹   设备

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!