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 .
 

eurojam

Well-Known Member
Licensed User
Longtime User
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

rwblinn

Well-Known Member
Licensed User
Longtime User
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

  • B4JHowToAppSettingsProtect.zip
    5.2 KB · Views: 176
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…