Applying Fingerprint Login in android


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



Finally the FragmentDialog

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


. . .

Leave a Comment

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


  • Shubham Agarwal
    Nice codebase.
  • css.php

    Excellent work, fast, good quality and understood the brief perfectly! Quick responses developing the project and very good cooperation. I suggest to anyone.

    Stathis Plakidas

    Stathis Plakidas

    Talk to Sales


    Live Chat
    Start a Project

      Message Sent!

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

      Back to Home