Read More
Read now

Applying Fingerprint Login in android

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

. . .

Leave a Comment

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


1 comments

  • Shubham Agarwal
    Nice codebase.
  • css.php

    Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!

    Deniel Kerr

    Owner and Founder. Opencart

    Talk to Sales
    Start a Project

      Message Sent!

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

      Back to Home