I am interested in loading a bunch of data TEXT files which will then be read in by a JNI C++ code. So I need to place preload these files somewhere from which the JNI C++ code can read them. I am open to other suggestions about where to place these files but they need to be read accessible without using for example AssetManager ResourceManager etc since I am reading from C++ side. I also don’t want to write them just preload the files as resources and then read them. I did find this solution: http://blog.sephiroth.it/2010/10/24/reading-resource-files-from-native-code/ which uses the libzip c library to read the apk. Really looking for the best way.
Thanks
Store them as resources, and write them out when the applications first runs using Java code. You can then access them as normal files from native code. Another place where you could write them is external storage (SD card).