security-samples icon indicating copy to clipboard operation
security-samples copied to clipboard

Multiple samples showing the best practices in security APIs on Android.

Android Security Samples Repository

This repository contains a set of individual Android Studio projects to help you get started writing/understanding Android security features.

Android BiometricLogin Sample

This is the canonical sample that demonstrates how to integrate Android Biometrics into your apps. Whether your project is for government, healthcare, financial, enterprise, or general usage, this sample should guide your implementation.

Android DirectBoot Sample

This sample demonstrates how to store and access data in a device protected storage that is always available while the device is booted.