如何从指纹扫描仪获取输入并将其保存 [英] How to get input from fingerprint scanner and save it
本文介绍了如何从指纹扫描仪获取输入并将其保存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用Android棉花糖和Moto G4以及用于测试的设备.
I am Using Android Marshmallow, and Moto G4 plus a device for testing.
我想创建一个应用程序,该应用程序将使用指纹输入并将其保存在本地数据库(sqlite)或数据库中,我的意思是我们可以采用哪种类型进行输入并将其保存?
I want to create an application which will take the fingerprint input and saved in a local database(sqlite) Or to database, I mean which type we can take input and save it?
推荐答案
您无法从android Fingerprint API获取指纹模板或图像.指纹数据由android系统存储在安全的地方,并且无法访问.
You can't get fingerprint template or image from android Fingerprint API. Fingerprint data are stored in a secure place by android system and are not accessible.
但是您可以要求系统对用户进行身份验证.
But you can ask the system to authenticate the user.
此处示例代码
该文档,在指纹认证
这篇关于如何从指纹扫描仪获取输入并将其保存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文