Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get input from fingerprint scanner and save it [closed]

Tags:

I am Using Android Marshmallow, and Moto G4 plus a device for testing.

I want to create an application which will take the fingerprint input and saved in a local database(sqlite) Or to database, I mean which type we can take input and save it?

like image 390
Kuldeep Singh Avatar asked Jul 02 '16 13:07

Kuldeep Singh


People also ask

How do I save my fingerprint data?

You cannot save a fingerprint image or template. It is stated by Android in the Fingerprint Section. The Fingerprint data is stored by android system in the phone at a secure location which is not accessible. You can write an app that gets and stores fingerprint to authenticate the user.

How do I save my fingerprints on Android?

Setting up your fingerprintTap the Settings icon on your Android device and tap Lock screen and security. Scroll down and tap Screen lock type. Add your fingerprint — follow the instructions on your screen and go through the wizard. You'll be prompted to lift and rest your finger on the home button several times.

Where is my fingerprint data stored?

In the Android OS, fingerprint biometrics are required to be stored in the Trusted Execution Environment (TEE), where the information is encrypted and kept in a separate part of the smartphone, completely inaccessible to the regular OS. It can't even be exported.

Can a fingerprint scanner be fooled?

The report says a fingerprint scanner can be "hacked" by using a picture of the target's fingerprint, creating a negative in Photoshop, printing the resulting image, and then putting some wood glue on top of the imitated fingerprint so it can be used to trick many commercial scanners.


2 Answers

You can't get fingerprint template or image from android Fingerprint API. Fingerprint data are stored in a secure place by android system and are not accessible.

But you can ask the system to authenticate the user.

Here sample code

The doc, in section Fingerprint Authentication

like image 150
LaurentY Avatar answered Sep 30 '22 03:09

LaurentY


  1. In technical terms, Android OS stores Fingerprints in TEE (stands for Trusted Execution Environment), TEE is separate and isolated area in phone's hardware or software depending on the way device is manufactured. TEE will never let us in even if device is rooted. Check this for more details about Trusty OS

  2. If your requirement is to get fingerprint signature (which is a critical practice from user's privacy point of view) you'll have to buy a 3rd party fingerprint scanner and integrate with your app.

like image 35
NotABot Avatar answered Sep 30 '22 02:09

NotABot