Search code examples
androidsqliteauthenticationfingerprintandroid-fingerprint-api

Attendance app with fingerprint authentication


I want to create a employee attendance app having finger print sensing. I want to register each employee finger prints in local database and when employee logins with fingerprint it should be verified with value in database.Can anyone please help me? Is it possible to register multiple users using fingerprint sensors in marshmallow phones?


Solution

  • As per Nexus FAQs

    Your fingerprint data is stored securely and never leaves your Pixel or Nexus phone. Your fingerprint data isn't shared with Google or any apps on your device. Apps are notified only whether your fingerprint was verified.

    FingeprintManager only has these 3 features:

    authenticate() : for authenticating user

    hasEnrolledFingerprints() : Determine if there is at least one fingerprint enrolled.

    isHardwareDetected() : Determine if fingerprint hardware is present and functional.

    There is no feature to get fingerprint id from the sensor.So your idea of storing fingerprints in database won't work.