Testing on 2.3.7 and 4.4.2.
I try both, with externalDataPath and externalDataPath.
To combine the default path with my file name i write something like that:
strcpy(name
,asset
->internalDataPath
);strcat(name
, "/cnf.png"); I also trying just "/data/data/com.example.sfml/cnf.png", "/sdcard/cnf.png" and other similar path.
.png extension is to prevent file from being compressed. Also tested with .mp3, .txt, and without any extension.
Next, I was trying to read using ">>" from c++ or fscanf(stream, "%s", var"); from C
Always result is same, crash with lovely SIGSEGV when reading starts. My "cnf" file is in assets folder and in main project folder. Now, I have't any concept how write/read function should looks like.
I hope you understand me,really sorry if something sounds unfriendly/unkindly, I still don't operate English very well.