Android fingerprint API for time attendance app [closed]

守給你的承諾、 提交于 2019-11-27 05:12:01

No. In fact, the Android Compatibility Definition for Android 6.0 states in the Fingerprint section (7.3.10):

MUST NOT enable 3rd-party applications to distinguish between individual fingerprints.

Therefore while you could write an app that uses fingerprint as a mechanism to authenticate the user, any registered fingerprint associated with the current user account could be used.

This would mean that if you want to differentiate each employee, they would need their own user account or device, rather than having a single instance of the app that works for multiple users.

You're right, Android M or Samsung or iPhone APIs only allow to verify current user against user of device.

With Android M or Samsung or iPhone APIs you can't get fingerprint template or image.

As @ianhanniballake the only solution is to create a user in Android for each employee. But each employee need to select is user and after, he could be authenticated.

There's some fingerprint scanners compatible with Android Platform and with SDK for Android. These SDKs allow to get fingerprint image or template. Scanners are plugged on USB port so you can't charge tablet and use fingerprint scanner simultaneous. For instance:

There's also some devices with integrated fingerprint scanner and with SDK to get fingerprint image or template.

To match fingerprint, some SDK have matcher but if you have lot of user you should use an AFIS solution.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!