I want to get fingerprint byte data using android 7 api . For that I am following this tutorial : Fingerprint API Tutorial
In this tutorial I have goth directions to authenticate the user using fingerprint using fingerprint api .
public void startListening(FingerprintManager.CryptoObject cryptoObject) {
if (!isFingerprintAuthAvailable()) {
return;
}
mCancellationSignal = new CancellationSignal();
mSelfCancelled = false;
mFingerprintManager
.authenticate(cryptoObject, mCancellationSignal, 0 /* flags */, this, null);
mIcon.setImageResource(R.drawable.ic_fp_40px);
}
public void stopListening() {
if (mCancellationSignal != null) {
mSelfCancelled = true;
mCancellationSignal.cancel();
mCancellationSignal = null;
}
}
But I do not need to authenticate the fingerprint data of user using android api . I only need fingerprint byte data captured from android api . How can I get that ?