Lock Screen

Simple and beautiful Lock Screen library to set an check pin code. Integrated with fingerprint authentication.
Alternatives To Lock Screen
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Errbit4,202158105 months ago7February 26, 201663mitRuby
The open source error catcher that's Airbrake API compliant
Soter1,825
7 months ago48otherJava
A secure and quick biometric authentication standard and platform in Android held by Tencent.
React Native Touch Id1,425113113 months ago29February 15, 2019116Java
React Native authentication with the native Touch ID popup.
React Native Fingerprint Scanner83127223 days ago30June 20, 202070Java
Provide Fingerprint, Touch ID, and Face ID Scanner for React Native (Compatible with both Android and iOS)
Biometricauthentication714
92 years ago15October 14, 20207mitSwift
Use Apple FaceID or TouchID authentication in your app using BiometricAuthentication.
Larapass579
9 months ago10November 01, 2021mitPHP
Authenticate users with just their device, fingerprint or biometric data. Goodbye passwords!
Fingerprintmanager551
4 years ago7mitKotlin
A small library to handle Android fingerprint API.
Reprint466
2 years agoapache-2.0Java
A unified fingerprint library for android.
Rxfingerprint370
4 years ago28apache-2.0Java
Android Fingerprint authentication and encryption with RxJava
Cordova Plugin Fingerprint Aio2934337 days ago65December 22, 202152mitJava
Cordova Plugin for fingerprint sensors (and FaceID) with Android and iOS support
Alternatives To Lock Screen
Select To Compare


Alternative Project Comparisons
Readme

Lock Screen

Simple and beautiful Lock Screen library to set an check pin code. Integrated with fingerprint authentication.

Easily secure your app with Lock Screen library as easy as starting an intent.

With great animations for fingerprint authentication.

Set Pin:

Screenshots

Check Pin:

Screenshots

Lock Screen gets a 4 digit pincode from user at first running time. After that every time that you start the intent, It asks
for pincode.

Watching this repository will allow GitHub to email you whenever I publish a release.


Gradle Dependency

Add this line to your build.gradle project

compile 'com.amirarcane.lock-screen:lockscreen:2.0.0'

Usage

Just add Lock Screen activity to your manifest:

<activity android:name="com.amirarcane.lockscreen.activity.EnterPinActivity"
          android:theme="@style/Theme.AppCompat.NoActionBar"/>

Now easily start the Intent:

 Intent intent = new Intent(getContext(), EnterPinActivity.class);
 startActivity(intent);

That's it. As easy as piece of cake.

At first run It checks if you entered pin before or not, If pin was set, It asks for Entering pin else It asks for setting pincode. If you need to change pin or for any reason you want to set pin again just start the intent like below:

  Intent intent = EnterPinActivity.getIntent(getContext(), SET_PIN);
  startActivity(intent);

SET_PIN is boolean.

If you need to handle back press of Lock Screen activity, just try onActivityResult:

  @Override
      protected void onActivityResult(int requestCode, int resultCode, Intent data) {
          super.onActivityResult(requestCode, resultCode, data);
          switch (requestCode) {
              case REQUEST_CODE:
              if (resultCode == EnterPinActivity.RESULT_BACK_PRESSED) {
                  Toast.makeText(MainActivity.this, "back pressed", Toast.LENGTH_LONG).show();
              }
              break;
          }
      }

See MainActivity class in Sample app for understanding how this library works.


Customization

If you need to set font for this library try like below:

  Intent intent = EnterPinActivity.getIntent(getContext(), FONT_TEXT, FONT_NUMBERS);
  startActivity(intent);

FONT_TEXT and FONT_NUMBERS are path of your fonts in assets folder like "font/Arial.ttf"

IF need set pin and changing fonts, do this:

  Intent intent = EnterPinActivity.getIntent(getContext(), SET_PIN, FONT_TEXT, FONT_NUMBERS);
  startActivity(intent);

I customized PinLockView by andrognito for my Lock Screen view. In case of any further customization, fork the library and change it.

Popular Authentication Projects
Popular Fingerprint Projects
Popular Security Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Java
Authentication
Fingerprint
Lockscreen
Fingerprint Authentication