Android Developers
Published in

Android Developers

Illustration by Virginia Poltrack

Using BiometricPrompt with CryptoObject: how and why

Cryptography and key management on Android

Add biometrics to require user presence

Under the hood of the Android Biometric system

Working together: private data retrieval in a secure space

Figure 1

The CryptoObject

Now for some code

1. Import the Gradle dependency

2. Create an instance of BiometricPrompt

3. Build a PromptInfo object

4. Business-specific OnClickListener

Putting it all together

Summary

--

--

--

Articles on modern tools and resources to help you build experiences that people love, faster and easier, across every Android device.

Recommended from Medium

imToken 2.8.0 with the amazing, new Tokenlon 5.0 aggregator released!

Introduction to APK Reverse Engineering — bypassing Root Detection and Certificate Pinning

Android Content Provider : SQLite and sharing your app data.

Clubhouse on Android Soon?

LoadTest RestFull API using Jmeter custom Http Sampler Okhttp and Retrofit

How to Install and Run Android Apps on Windows 11

Build Single Activity Apps With Jetpack Compose

Hand holding an android device

[Mal Series #10] Setup For Malicious Android App Analysis

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Isai Damier

Isai Damier

Android Engineer @ Google; founded geekviewpoint.com; Haitian; enjoy classical lit and chess. Twitter: @isaidamier

More from Medium

Jetnews for every screen

Google Assistant Slices for Android — part 2

Speed Up Mandelbrot Drawing on Android Jetpack Compose

Jetpack Glance Part3: Create widget