Doing research for my team. I see how to add a fingerprint in Android Emulator and sent a good event.
adb -e emu finger touch <finger_id>
What if I want to test a BAD fingerprint?
Thanks
Doing research for my team. I see how to add a fingerprint in Android Emulator and sent a good event.
adb -e emu finger touch <finger_id>
What if I want to test a BAD fingerprint?
Thanks
While ADB is useful for a lot of things, I use the Fingerprint menu in the emulator's extended controls instead. Here's how I've been able to test it:
When a fingerprint scan dialog is shown in an app, select a finger from the extended controls and click "Touch the Sensor". I've tested this with Google's FingerprintDialog sample code. If you only added Finger 1, attempting to use Finger 2 would report that it wasn't a match.
You just need to touch with a finger id which was never registered in the emulators security setting.