B4J Question app settins

bogdanc

Active Member
Licensed User
Longtime User
How to save and protect an app settings?
I know that I can store them in the text file etc.
Is there any way to protect some settings , means to be configurable over the app and protected by password .
 
you can use the keyValue store class (KVS) and put your stuff with PutEncyptedObject. Then the object (strings as well) will be protected by a password. KVS is very flexible and it is based on a sqlite database.
 
Upvote 0
Pls find attached a small sample project which builds upon eurojam's advice in post #2.
Read the project source as the bouncycastle library is required.
 

Attachments

Last edited:
Upvote 0
Back
Top