https://github.com/p32929/androidapplockscreen
An easily implementable, clean, minimal Lockscreen library for Android
https://github.com/p32929/androidapplockscreen
android android-app android-development android-library android-studio android-ui androidstudio authentication code library lockscreeen lockscreen lockscreen-background passcode passcodelock password password-vault pin pincode vault
Last synced: 28 days ago
JSON representation
An easily implementable, clean, minimal Lockscreen library for Android
- Host: GitHub
- URL: https://github.com/p32929/androidapplockscreen
- Owner: p32929
- License: mit
- Created: 2018-07-18T15:12:54.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-06T13:01:23.000Z (about 2 years ago)
- Last Synced: 2025-04-03T01:51:11.611Z (about 2 months ago)
- Topics: android, android-app, android-development, android-library, android-studio, android-ui, androidstudio, authentication, code, library, lockscreeen, lockscreen, lockscreen-background, passcode, passcodelock, password, password-vault, pin, pincode, vault
- Language: Java
- Homepage:
- Size: 334 KB
- Stars: 60
- Watchers: 3
- Forks: 21
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AndroidAppLockscreen
An easily implementable, clean, minimal Lockscreen module for Android Apps. Design inspired by Diary ( https://play.google.com/store/apps/details?id=com.pixelcrater.Diaro )# Screenshots
Image1 | Image2
:-------------------------:|:-------------------------:
 | []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []() []()
## Share
Sharing with your friends is just one click away from here[](https://www.facebook.com/sharer/sharer.php?u=https://github.com/p32929/AndroidAppLockscreen)
[](https://twitter.com/intent/tweet?source=https://github.com/p32929/AndroidAppLockscreen)
[](https://www.tumblr.com/share?v=3&u=https://github.com/p32929/AndroidAppLockscreen)
[](https://getpocket.com/save?url=https://github.com/p32929/AndroidAppLockscreen)
[](https://pinterest.com/pin/create/button/?url=https://github.com/p32929/AndroidAppLockscreen)
[](https://www.reddit.com/submit?url=https://github.com/p32929/AndroidAppLockscreen)
[](https://www.linkedin.com/shareArticle?mini=true&url=https://github.com/p32929/AndroidAppLockscreen)
[](https://api.whatsapp.com/send?text=https://github.com/p32929/AndroidAppLockscreen)## Support
If you like my works and want to support me/my works, feel free to support or donate. My payment details can be found here: https://p32929.github.io/SendMoney2Me/## Installation
Add it in your root build.gradle at the end of repositories:```
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
```Add the dependency
```
dependencies {
implementation 'com.github.p32929:AndroidAppLockscreen:1.2'
}
```## Usage
Steps to follow:
* Extend all ``Activities`` by ``LockscreenHandler``
* Add ```EasyLock.checkPassword(this);``` in your ```MainActivity```'s ```onCreate``` method (or whichever activity starts at first)After that you can:
* Set password
* Set background color
* Check password
* Change password
* Disable password## Example:
Step 1: * Extend all ``Activities`` by ``LockscreenHandler`` like this:```
public class MainActivity extends LockscreenHandler {
// ............................................
}
```Step 2: Add ```EasyLock.checkPassword(this);``` in your ```MainActivity```'s ```onCreate``` method (or whichever activity starts at first) like this:
```
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);EasyLock.checkPassword(this);
}
```## Set, Check, Change, Disable Password:
* To set a password, call ```EasyLock.setPassword();```
* To set background color, call ```EasyLock.setBackgroundColor();```
* To check password, call ```EasyLock.checkPassword();```
* To change password, call ```EasyLock.changePassword();```
* To disable password, call ```EasyLock.disablePassword();```
* To see if clicked on Forgot password call ```EasyLock.forgotPassword()``` with a ```new View.OnClickListener()```Check out the app in the repository for more info :)
Enjoy...```
MIT LicenseCopyright (c) 2018 Fayaz Bin Salam
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```