All Projects → amirarcane → Lock Screen

amirarcane / Lock Screen

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

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Lock Screen

Soter
A secure and quick biometric authentication standard and platform in Android held by Tencent.
Stars: ✭ 1,777 (+1266.92%)
Mutual labels:  authentication, fingerprint
React Native Fingerprint Scanner
Provide Fingerprint, Touch ID, and Face ID Scanner for React Native (Compatible with both Android and iOS)
Stars: ✭ 704 (+441.54%)
Mutual labels:  authentication, fingerprint
Biometricauthentication
Use Apple FaceID or TouchID authentication in your app using BiometricAuthentication.
Stars: ✭ 746 (+473.85%)
Mutual labels:  authentication, fingerprint
Betterlockscreen
Most of i3lock wrapper-scripts out there take an image, add some effect(s) then lock with the modified image as locker-background. Overall experience doesn't feel natural given delay of 2-3 seconds.
Stars: ✭ 1,757 (+1251.54%)
Mutual labels:  lockscreen
Netclient Ios
Versatile HTTP Networking in Swift
Stars: ✭ 117 (-10%)
Mutual labels:  authentication
Website Analyzer
Analyze and display the Web technology of current page.
Stars: ✭ 121 (-6.92%)
Mutual labels:  fingerprint
Laravel Auth
A powerful authentication, authorization and verification package built on top of Laravel. It provides developers with Role Based Access Control, Two-Factor Authentication, Social Authentication, and much more, compatible Laravel’s standard API and fully featured out of the box.
Stars: ✭ 128 (-1.54%)
Mutual labels:  authentication
Apple Authentication
Sign In With Apple for React Native
Stars: ✭ 116 (-10.77%)
Mutual labels:  authentication
Pw Pwnage Cfworker
Deploy a Cloudflare Worker to sanely score users' new passwords with zxcvbn AND check for matches against haveibeenpwned's 7.8+ billion breached accounts
Stars: ✭ 125 (-3.85%)
Mutual labels:  authentication
Authmanager
Google Sign-In and SmartLock Manager
Stars: ✭ 121 (-6.92%)
Mutual labels:  authentication
Serverless Architectures Aws
The code repository for the Serverless Architectures on AWS book
Stars: ✭ 120 (-7.69%)
Mutual labels:  authentication
Auth0 Nodejs Webapp Sample
Auth0 Integration Samples for Node Web Applications
Stars: ✭ 117 (-10%)
Mutual labels:  authentication
Libfprint
libfrpint driver for a family of Elantech fingerprint sensors
Stars: ✭ 121 (-6.92%)
Mutual labels:  fingerprint
Jwt Auth
🔐 JSON Web Token Authentication for Laravel & Lumen
Stars: ✭ 10,305 (+7826.92%)
Mutual labels:  authentication
Zklibrary
ZKLibrary is PHP library for reading and writing data to attendance device using UDP protocol. This library useful to comunicate between web server and attendance device directly without addition program. This library is implemented in the form of class. So that you can create an object and use it functions.
Stars: ✭ 126 (-3.08%)
Mutual labels:  fingerprint
Laravel Passport Android
Laravel + Passport for an Android App
Stars: ✭ 116 (-10.77%)
Mutual labels:  authentication
Fosite
Extensible security first OAuth 2.0 and OpenID Connect SDK for Go.
Stars: ✭ 1,738 (+1236.92%)
Mutual labels:  authentication
Graphql Directive Auth
GraphQL directive for handling auth
Stars: ✭ 120 (-7.69%)
Mutual labels:  authentication
Auth
Authenticator via oauth2
Stars: ✭ 118 (-9.23%)
Mutual labels:  authentication
Aura.auth
Provides a unified interface to local and remote authentication systems.
Stars: ✭ 121 (-6.92%)
Mutual labels:  authentication

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].