how to store fingerprint data along with username, image, email etc in database in android app

Ashu picture Ashu · Aug 22, 2017 · Viewed 18.1k times · Source

how to store fingerprint data along with username, image, email etc in database in android app. I read out many links but it is not helpful. they are

  1. How to get Fingerprint input from user and save to sqlite in android

  2. Retrieving Fingerprint data? Get fingerprint templates from fingerprint scanner

  3. Register user fingerprint in an android application

Thanks

Answer

Rahul Sharma picture Rahul Sharma · Aug 22, 2017

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 method to get fingerprint id from the sensor. So your idea of storing fingerprints in database won't work.