Search code examples
javaandroidfingerprintandroid-fingerprint-api

How to search by fingerprint in Android


I want to create an Android app that search by fingerprint for users.

Every user will have account, I want store the fingerprint of every user in database and when I read any fingerprint I will search in my database for user how has this fingerprint.

How I can do it using Android? Would Google Fingerprint API help me?


Solution

  • You cannot store fingerprint on database. Exactly you can't even get the fingerprint object, it's not possible. How fingerprint works on Android is to authenticate to the device (Android system).

    Maybe you are asking why google doesn't provide the info about each user's fingerprint. It is because of security, if people can get the fingerprint object, people can crack the android system and hack into people's phone.