Abhishek Dhotre
Abhishek Dhotre

Reputation: 511

Check if a finger is placed on fingerprint sensor or not- Android

I'm looking for a way to detect (something like a fired event) if the finger is placed on fingerprint sensor on Android devices. I'm not looking for authentication using fingerprint sensor, I just need to check if the fingerprint sensor responds to a placed finger or not.

Appreciate your help, thanks.

Upvotes: 2

Views: 513

Answers (1)

WoogieNoogie
WoogieNoogie

Reputation: 1257

You can only access the fingerprint sensor through the fingerprint authentication service. You would be able to tell if a fingerprint is on the sensor based on the response from the API of a success OR a failure, that would indicate that a finger is on the sensor either way.

Upvotes: 1

Related Questions