Mobile app to store your passwords in an Encrypted Store
Author: Daniel Passos (dpassos)
Technologies: Java, Android
Summary: A basic example of Encrypted Store
What is it?
Password Manager project demonstrates how to include Encrypted Store functionality in Android applications.
How do I run it?
$ cd /path/to/PasswordManager/ $ ./gradlew clean build
Running the app
To deploy, run and debug the application on an Android device attached to your system, on the command line enter the following:
Install generated apk to device
$ cd /path/to/PasswordManager $ ./gradlew installDebug
- Open app on device
How does it work?
When application start, the
PasswordManagerActivity will ask a passworkd and call
if it's the first invoke time, the
DataManager will create a new Encrypted Store using this password, if not it will try open the Encrypted database using that password. If this password is wrong, it will throw an
store = (EncryptedSQLStore<Credential>) DataManager.config("pwdStore", EncryptedSQLStoreConfiguration.class) .withContext(getApplicationContext()) .usingPassphrase(passphrase) .forClass(Credential.class) .store(); store.openSync();