指纹多个设备 [英] Fingerprint multiple devices

查看:113
本文介绍了指纹多个设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在一台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.


这篇关于指纹多个设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆