Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where should my cross-platform FireMonkey app store its settings?

What are the best practices for where a cross-platform FireMonkey program should put INI files? Are INI files even the right approach?

like image 743
Charles Barouch Avatar asked Mar 15 '23 12:03

Charles Barouch


1 Answers

For Android: in "shared storage"

For MacOS: in INI file

https://delphihaven.wordpress.com/2015/06/11/ccr-prefsinifile-on-github/

CCR.PrefsIniFile on GitHub by Chris Rolliston (he is on stackoverflow also: https://stackoverflow.com/users/2778930/chris-rolliston)

Just a small post to say the the native Preferences API wrappers for Android, iOS and OS X I published to Google Code a while back are now on GitHib:

https://github.com/chrisrolliston/CCR.PrefsIniFile

Both the Android and Apple versions should also now compile in XE8.

like image 107
Zam Avatar answered Apr 14 '23 22:04

Zam