ActivityPassProtection Library

A library that password protects Activities

License

License

GroupId

GroupId

com.github.pavlospt
ArtifactId

ArtifactId

activitypassprotection
Last Version

Last Version

1.0
Release Date

Release Date

Type

Type

aar
Description

Description

ActivityPassProtection Library
A library that password protects Activities
Project URL

Project URL

https://github.com/pavlospt/ActivityPassProtection
Source Code Management

Source Code Management

https://github.com/pavlospt/ActivityPassProtection

Download activitypassprotection

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.pavlospt/activitypassprotection/ -->
<dependency>
    <groupId>com.github.pavlospt</groupId>
    <artifactId>activitypassprotection</artifactId>
    <version>1.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.pavlospt/activitypassprotection/
implementation 'com.github.pavlospt:activitypassprotection:1.0'
// https://jarcasting.com/artifacts/com.github.pavlospt/activitypassprotection/
implementation ("com.github.pavlospt:activitypassprotection:1.0")
'com.github.pavlospt:activitypassprotection:aar:1.0'
<dependency org="com.github.pavlospt" name="activitypassprotection" rev="1.0">
  <artifact name="activitypassprotection" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.github.pavlospt', module='activitypassprotection', version='1.0')
)
libraryDependencies += "com.github.pavlospt" % "activitypassprotection" % "1.0"
[com.github.pavlospt/activitypassprotection "1.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

ActivityPassProtection

A library that password protects Activities

Activity Pass Protection

Android Arsenal

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 ([email protected])

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.

Versions

Version
1.0