如何获取用户指纹进行身份验证?

How to get user finger print for authentication?

我想在我的 android 应用程序中添加指纹扫描仪以进行身份​​验证。我在 google 上进行了搜索,但发现仅 android marshmallow 支持指纹识别。我想为 android API 版本 14 到 23 添加这个。我怎样才能做到这一点?

你不能。 Marshmallow (API 23) 中添加了指纹 API。您仍然可以使用 FingerprintManagerCompat 定位 API 14。 Pre Marshmallow 它的行为就像没有可用的指纹硬件一样。