Search code examples
androidfingerprintandroid-fingerprint-api

How to get user finger print for authentication?


I want to add a finger print scanner in my android app for authentication. I have searched on google but found finger print support only for android marshmallow. I want to add this for android API version 14 to 23. How can I achieve this ?


Solution

  • You cannot. Fingerprint API was added in Marshmallow (API 23). You can still target API 14 with FingerprintManagerCompat. Pre Marshmallow it behaves as there would be no fingerprint hardware available.