Secure Preference Manager alternatives and similar packages
Based on the "Utility" category.
Alternatively, view Secure Preference Manager alternatives based on common mentions on social networks and blogs.
-
timber
A logger with a small, extensible API which provides utility on top of Android's normal Log class. -
StatusBarUtil
A util for setting status bar style on Android App. It can work above API 19(KitKat 4.4). -
ExpirableDiskLruCache
Expirable Disk Lru Cache is a wrapper for that allows expiring of key/value pairs by specifying evictionTimeSpan. It has very simple API. -
joda-time-android
Joda-Time library with Android specialization -
AndroidProcesses
Get running processes on Android -
Android-Templates-And-Utilities
Collection of source codes, utilities, templates and snippets for Android development. -
secure-preferences
Android Shared preference wrapper than encrypts the keys and values of Shared Preferences. It's not bullet proof security but rather a quick win for incrementally making your android app more secure. -
greenrobot-common
General purpose utilities and hash functions for Android and Java (aka java-common) -
vector-compat
A support library for VectorDrawable and AnimatedVectorDrawable classes introduced in Lollipop -
CastCompanionLibrary-android
CastCompanionLibrary-android is a library project to enable developers integrate Cast capabilities into their applications faster and easier. -
android_dbinspector
Android library for viewing in app databases. -
AndroidBillingLibrary
Android Market In-app Billing Library -
motion
An Android library allowing images to exhibit a parallax effect that reacts to the device's tilt -
MrVector
AKA VectorDrawableCompat: A 7+ backport of VectorDrawable. -
Colours
A beautiful set of predefined colors and a set of color methods to make your Android development life easier. -
davdroid
DAVdroid – CalDAV/CardDAV synchronization for Android 4+ devices -
Android-Validator
Form Validator Library for Android -
android-validation-komensky
A simple library for validating user input in forms using annotations. -
AndroidFaceCropper
Android bitmap Face Cropper -
routable-android
Routable, an in-app native URL router, for Android -
DebugLog
Create a simple and more understandable Android logs.
Get performance insights in less than 4 minutes
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of Secure Preference Manager or a related project?
README
Secure-Pref-Manager
Secure Preference Manager is a simple Library to help you protect your Shared Preferences.
Secure Preference Manager for android. It uses various encryption techniques to protect your application's Shared Preferences.
Setup
Add jitpack to your project’s repositories.
repositories {
// ...
maven { url "https://jitpack.io" }
}
Then add Secure-Pref-Manager to your Module’s dependencies
dependencies {
compile 'com.github.prashantsolanki3:Secure-Pref-Manager:0.25'
}
Usage
Initialize SecurePrefManager anywhere before using it.
- Basic Initialization
new SecurePrefManagerInit.Initializer(getApplicationContext())
.initialize();
- Recommended Initialization
- AES Encryption by Default.
- Auto Generated Key.
new SecurePrefManagerInit.Initializer(getApplicationContext())
.useEncryption(true)
.initialize();
- Advance Initialization: Only if you wanna add Custom Encryption Methods.
new SecurePrefManagerInit.Initializer(getApplicationContext())
.useEncryption(true)
.setCustomEncryption(new Encryptor(getApplicationContext()) {
@Override
public String encrypt(String s) throws Exception {
// Your Encryption Algorithm
return encryptedString;
}
@Override
public String decrypt(String s) throws Exception {
// Your Decryption Algorithm
return decryptedString;
}
})
.initialize();
Adding and Retrieving Preferences
Adding
SecurePrefManager.with(this) .set("user_name") .value("LoremIpsum") .go();
Retrieving
String userName = SecurePrefManager.with(this)
.get("user_name")
.defaultValue("unknown")
.go();
Hide Preferences from 3rd Party applications (EXPERIMENTAL)
Unhide Preferences when the activity starts
@Override protected void onStart() { super.onStart(); SecurePrefManager.with(getApplicationContext()) .unhide(new HidePreferences.PreferenceUpdateListener() { @Override public void onFailure() { Log.d("unhiding", "Failed"); } @Override public void onProgress(int p, int max) { Log.d("unhiding", "Progress: " + p + "/" + max); } @Override public void onSuccess() { Log.d("unhiding", "Success"); } }); }
Hide preferences when leaving the activity
@Override
protected void onPause() {
SecurePrefManager.with(getApplicationContext())
.hide(new HidePreferences.PreferenceUpdateListener() {
@Override
public void onFailure() {
}
@Override
public void onProgress(int p, int max) {
}
@Override
public void onSuccess() {
}
});
}