Android fingerprint API for time attendance app [c

2019-01-07 23:50发布

I would like to build an app which allows employees to scan fingerprint with the support of Android app. Right now most fingerprint API (Touch ID or Android Imprint) only allows login to app. Is there any 3rd party API that allows usage of API to collect fingerprint and attach to my employee record, and verify when they scan finger? Thanks.

2条回答
Deceive 欺骗
2楼-- · 2019-01-08 00:29

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.

查看更多
甜甜的少女心
3楼-- · 2019-01-08 00:45

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.

查看更多
登录 后发表回答