William Hunter Active Member Licensed User Longtime User Jan 13, 2014 #1 Is there anything like B4A’s PreferenceActivity library in B4J? I’m looking for a way to input and store settings info. I would like EditText to store strings and also use CheckBoxes for Booleans. I’ve spotted steve105’s jSLPreferences library, but I don’t think this will accomplish what I need. Any help is greatly appreciated. Best regards
Is there anything like B4A’s PreferenceActivity library in B4J? I’m looking for a way to input and store settings info. I would like EditText to store strings and also use CheckBoxes for Booleans. I’ve spotted steve105’s jSLPreferences library, but I don’t think this will accomplish what I need. Any help is greatly appreciated. Best regards
Erel B4X founder Staff member Licensed User Longtime User Jan 14, 2014 #2 There are two simple ways to store settings. 1. Create a Map with the settings and then store it with File.WriteMap. 2. Use KeyValueStore class: http://www.b4x.com/android/forum/threads/keyvaluestore-class.36683/ Upvote 0
There are two simple ways to store settings. 1. Create a Map with the settings and then store it with File.WriteMap. 2. Use KeyValueStore class: http://www.b4x.com/android/forum/threads/keyvaluestore-class.36683/