Am 21.02.2016 19:36 schrieb "Michalis Kamburelis" <michalis.ka...@gmail.com >: > > > > 1) All the file I/O in the FPC RTL is not available so what possible work arounds are there for loading data from files? > > Actually, all the IO in FPC works perfectly. You can read / write > files just like on any other Unix (although you need to declare > appropriate permissions in the AndroidManifest.xml first --- > READ_EXTERNAL_STORAGE , WRITE_EXTERNAL_STORAGE, otherwise access to > "/sdcard/..." files will be restricted). For example, config files are > just normal files on Android. You only use a special function to get > the proper config file location, but this is done for you by CGE, you > just use CastleFilesUtils.ApplicationConfig:)
I think he means on FPC's JVM target. There file I/O using Write/Read is indeed not implemented. Regards, Sven
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal