Awesome
ActivityPassProtection
A library that password protects Activities
Example
PasswordProtectionDialog mDialog = new PasswordProtectionDialog(this);
mDialog.initializeDialog();
The first time that you call the dialog it will ask you for a password!
Although you can manually set it and save it to the SharedPreferences by using the keys from Constants! The library checks if a password has been set and does not ask for one in such case!
I purposely left the reset and password set functionality out of the Library because every developer wants to do it in his/her way!
So just use the shared preferences keys and implement your own functionality that fits your needs best :)
There are a lot of customization for the dialog documented by Javadoc!
How To Use
compile 'com.github.pavlospt:activitypassprotection:1.0'
Developed By
Author : Pavlos-Petros Tournaris (p.tournaris@gmail.com)
Google+ : +Pavlos-Petros Tournaris
Facebook : Pavlos-Petros Tournaris
LinkedIn : Pavlos-Petros Tournaris
License
Copyright 2014 Pavlos-Petros Tournaris
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.