Skip to content
This repository was archived by the owner on Oct 28, 2026. It is now read-only.
Prajata22Public archive

About

Based on balrampandey19/AppLocker: four-digit PIN lock library for Android apps. Kept for reference

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Note: This repository is based on balrampandey19/AppLocker by its original authors and is kept here for reference. Credit and licence belong to the original project; use the original for the current version.

App lock library for Android

License

AppLocker is a library to protect apps using a four digit pin

This library allows you to implement a pin lock mechanism in your app easily.

Once enabled a four-digit passcode needs to be entered any time your mobile app is launched. This way your app is safe even if your smartphone or tablet falls into the wrong hands.

Usage

Initilize app loger in App Application class.

 AppLocker.getInstance().enableAppLock(this);

Extend LockActivity in all app activity as base activity.

 public class MainActivity extends LockActivity {
 
  @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        }
 
 }

Proguard

 -dontwarn com.balram.locker.**

Download

Add it to your build.gradle with:

allprojects {
    repositories {
        maven { url "https://jitpack.io" }
    }
}

and:

dependencies {
   compile 'com.github.balrampandey19:AppLocker:1.0.1'
}

License

      Copyright 2016 Balram Pandey

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

About

Based on balrampandey19/AppLocker: four-digit PIN lock library for Android apps. Kept for reference

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages