Devv Active Member Licensed User Longtime User Nov 2, 2015 #1 How could i make an configuration file for my app in the File.DirInternal directory. and change a value when the user change a thing in the gui. some windows apps used to save their configuration in a ".ini" file. in a format near to this: SCREEN SIZE = 200 * 200 auto update = true listening pot = 30 Click to expand... any ideas ?
How could i make an configuration file for my app in the File.DirInternal directory. and change a value when the user change a thing in the gui. some windows apps used to save their configuration in a ".ini" file. in a format near to this: SCREEN SIZE = 200 * 200 auto update = true listening pot = 30 Click to expand... any ideas ?
udg Expert Licensed User Longtime User Nov 2, 2015 #2 Hi Devv, you could use a Map object for your key-value pairs and then write and read that Map with functions like these ones. Upvote 0
Hi Devv, you could use a Map object for your key-value pairs and then write and read that Map with functions like these ones.
DonManfred Expert Licensed User Longtime User Nov 2, 2015 #4 Better use a map and then write the map with randomaccessfile.writeb4xobject and read the map back with randomaccessfile.readb4xobject Upvote 0
Better use a map and then write the map with randomaccessfile.writeb4xobject and read the map back with randomaccessfile.readb4xobject
J James Chamblin Active Member Licensed User Longtime User Nov 3, 2015 #5 KeyValueStore class is good for this https://www.b4x.com/android/forum/t...efficient-key-value-data-store.26317/#content Upvote 0
KeyValueStore class is good for this https://www.b4x.com/android/forum/t...efficient-key-value-data-store.26317/#content