Applying Fingerprint Login in android

Updated 18 December 2016

Save

In android API level 23 i.e. Android Marshmallow, Google introduced Fingerprint authentication. It not only enables the user to unlock the device using figerprint but also have developer’s APIs using which the developers can add the functionality to their own applications and its pretty simple as well.

For Fingerprint login you have to check the hardware support on the device, whether the lock is enable and lastly that there should be at-least one fingerprint stored on the device then you can pop user to authenticate the fingerprint. Ans I can tell you its quiet simple just follow me and you will be able to do this in your application as well.

Firstly you need a login activity like I have

The XML for the LoginActivity is as below:

The xml for the DailogFragment signin_using_fingerprint.xml

add_fingerprint_login.xml

 

Finally the FragmentDialog

And here you go. Now your app supports fingerprint like other apps.

Source: http://www.techotopia.com/index.php/An_Android_Fingerprint_Authentication_Tutorial

author
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


1 comments

  • Shubham Agarwal
  • Start a Project


      Message Sent!

      If you have more details or questions, you can reply to the received confirmation email.

      Back to Home