Since my Android application aims 2.1 versions of the system, I cannot read my assets through the native asset manager provided in the lastest NDK. What I am doing to read these assets is to retrieve the application path with Java, send the path string to my native code and then I unzip it with libzip.
Is it safe, or even the only way to do that on 2.1- systems? Are there limitations through different platforms or security levels?
This answer recommends either your method or taking advantage of filenames to avoid compression. I don’t think it would be “unsafe” to use either method.